Exemplo n.º 1
0
void plexus_cmd_connect(void)
{
	me_server =
	    do_server(NULL, ServerName, (char *) "0", ServerDesc, NULL);

	plexus_cmd_pass(RemotePassword);
	plexus_cmd_capab();
	plexus_cmd_server(ServerName, 1, ServerDesc);
	plexus_cmd_svinfo();
}
Exemplo n.º 2
0
void
plexus_cmd_jupe (char *jserver, char *who, char *reason)
{
  char rbuf[256];

  snprintf (rbuf, sizeof (rbuf), "(H) Juped by %s%s%s", who,
	    reason ? ": " : "", reason ? reason : "");

  if (findserver(servlist, jserver))
    plexus_cmd_squit (jserver, rbuf);
  plexus_cmd_server (jserver, 2, rbuf);
  new_server (me_server, jserver, rbuf, SERVER_JUPED, NULL);
}
Exemplo n.º 3
0
void
plexus_cmd_connect (int servernum)
{
  me_server = new_server (NULL, ServerName, ServerDesc, SERVER_ISME, NULL);

  if (servernum == 1)
    plexus_cmd_pass (RemotePassword);
  else if (servernum == 2)
    plexus_cmd_pass (RemotePassword2);
  else if (servernum == 3)
    plexus_cmd_pass (RemotePassword3);

  plexus_cmd_capab ();
  plexus_cmd_server (ServerName, 1, ServerDesc);
  plexus_cmd_svinfo ();
}
Exemplo n.º 4
0
void plexus_cmd_connect(void)
{
	/* Make myself known to myself in the serverlist */
	if (UseTS6 && Numeric)
	{
		me_server =
		    do_server(NULL, ServerName, (char *) "0", ServerDesc, TS6SID);
	}
	else
	{
		me_server =
		    do_server(NULL, ServerName, (char *) "0", ServerDesc, NULL);
	}

	plexus_cmd_pass(RemotePassword);
	plexus_cmd_capab();
	plexus_cmd_server(ServerName, 1, ServerDesc);
	plexus_cmd_svinfo();
}