mirror of
https://github.com/anope/anope.git
synced 2026-07-01 22:46:39 +02:00
Fix bug #1109. Anopes now replies with proper PONGs to rfc compliant PINGs .
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2529 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -951,7 +951,12 @@ endnick:
|
||||
/* Events */
|
||||
int anope_event_ping(const char *source, int ac, const char **av)
|
||||
{
|
||||
ircdproto->SendPong(TS6SID, av[0]);
|
||||
if (ac == 1)
|
||||
ircdproto->SendPong(NULL, av[0]);
|
||||
|
||||
if (ac == 2)
|
||||
ircdproto->SendPong(av[1], av[0]);
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user