1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 09:23:13 +02:00

Experimental fixes (that don't seem to work) to the server problem.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1533 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-11-04 10:21:16 +00:00
parent c6e4c00e7a
commit 1d546a04e6
+13 -5
View File
@@ -1112,13 +1112,21 @@ int anope_event_chghost(const char *source, int ac, const char **av)
return MOD_CONT;
}
/* EVENT: SERVER */
/*
* [Nov 04 00:08:46.308435 2008] debug: Received: SERVER irc.inspircd.com pass 0 964 :Testnet Central!
* 0: name
* 1: pass
* 2: hops
* 3: numeric
* 4: desc
*/
int anope_event_server(const char *source, int ac, const char **av)
{
if (!stricmp(av[1], "1")) {
uplink = sstrdup(av[0]);
}
do_server(source, av[0], av[1], av[2], NULL);
if (!stricmp(av[2], "0"))
{
uplink = sstrdup(av[0]);
}
do_server(source, av[0], av[2], av[4], av[3]);
return MOD_CONT;
}