summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:11 +0000
commit0e794a9e50cdf3b38a6c21936cc331bc7a50518c (patch)
tree52c7a80457da498b7cadca84f5fbe13d29e48c2b /src/protocol/unreal32.c
parent82722cf5d7d56a51830f797b5396908387107b64 (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/unreal32.c')
-rw-r--r--src/protocol/unreal32.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c
index 8684be95c..d1104d445 100644
--- a/src/protocol/unreal32.c
+++ b/src/protocol/unreal32.c
@@ -696,12 +696,6 @@ void unreal_cmd_server(const char *servname, int hop, const char *descript)
}
}
-/* PONG */
-void unreal_cmd_pong(const char *servname, const char *who)
-{
- send_cmd(servname, "%s %s", send_token("PONG", "9"), who);
-}
-
/* JOIN */
void unreal_cmd_join(const char *user, const char *channel, time_t chantime)
{
@@ -1014,7 +1008,7 @@ int anope_event_ping(const char *source, int ac, const char **av)
{
if (ac < 1)
return MOD_CONT;
- unreal_cmd_pong(ac > 1 ? av[1] : ServerName, av[0]);
+ ircd_proto.cmd_pong(ac > 1 ? av[1] : ServerName, av[0]);
return MOD_CONT;
}
@@ -2026,7 +2020,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_375(unreal_cmd_375);
pmodule_cmd_376(unreal_cmd_376);
pmodule_cmd_351(unreal_cmd_351);
- pmodule_cmd_pong(unreal_cmd_pong);
pmodule_cmd_join(unreal_cmd_join);
pmodule_cmd_unsqline(unreal_cmd_unsqline);
pmodule_cmd_invite(unreal_cmd_invite);