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 /include/services.h | |
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 'include/services.h')
-rw-r--r-- | include/services.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/services.h b/include/services.h index 406a943a8..46771a09e 100644 --- a/include/services.h +++ b/include/services.h @@ -1061,7 +1061,6 @@ typedef struct ircd_proto_ { void (*ircd_cmd_375)(const char *source); void (*ircd_cmd_376)(const char *source); void (*ircd_cmd_351)(const char *source); - void (*ircd_cmd_pong)(const char *servname, const char *who); void (*ircd_cmd_join)(const char *user, const char *channel, time_t chantime); void (*ircd_cmd_unsqline)(const char *user); void (*ircd_cmd_invite)(const char *source, const char *chan, const char *nick); @@ -1330,6 +1329,10 @@ class IRCDProtoNew { if (buf) send_cmd(source, "QUIT :%s", buf); else send_cmd(source, "QUIT"); } + virtual void cmd_pong(const char *servname, const char *who) + { + send_cmd(servname, "PONG %s", who); + } }; /*************************************************************************/ |