diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | 0e794a9e50cdf3b38a6c21936cc331bc7a50518c (patch) | |
tree | 52c7a80457da498b7cadca84f5fbe13d29e48c2b /src/protocol/bahamut.c | |
parent | 82722cf5d7d56a51830f797b5396908387107b64 (diff) |
Added cmd_pong() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1237 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 1241e92a0..9da48a827 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -835,12 +835,6 @@ void bahamut_cmd_squit(const char *servname, const char *message) send_cmd(NULL, "SQUIT %s :%s", servname, message); } -/* PONG */ -void bahamut_cmd_pong(const char *servname, const char *who) -{ - send_cmd(servname, "PONG %s", who); -} - /* * SVINFO * parv[0] = sender prefix @@ -1219,7 +1213,7 @@ int anope_event_ping(const char *source, int ac, const char **av) { if (ac < 1) return MOD_CONT; - bahamut_cmd_pong(ac > 1 ? av[1] : ServerName, av[0]); + ircd_proto.cmd_pong(ac > 1 ? av[1] : ServerName, av[0]); return MOD_CONT; } @@ -1479,7 +1473,6 @@ void moduleAddAnopeCmds() pmodule_cmd_375(bahamut_cmd_375); pmodule_cmd_376(bahamut_cmd_376); pmodule_cmd_351(bahamut_cmd_351); - pmodule_cmd_pong(bahamut_cmd_pong); pmodule_cmd_join(bahamut_cmd_join); pmodule_cmd_unsqline(bahamut_cmd_unsqline); pmodule_cmd_invite(bahamut_cmd_invite); |