diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | bb898d2454dcbeb55518f4d6433387f9b499fd2e (patch) | |
tree | 7b637c22f054f133103f84bdaffd50cc340b650a /src/ircd.c | |
parent | f3e386b625ac025e76e3bbd339684f007788070c (diff) |
Added cmd_svspart() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1265 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index cceb57e14..464613369 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -63,7 +63,6 @@ void initIrcdProto() ircdproto.ircd_cmd_242 = NULL; ircdproto.ircd_cmd_243 = NULL; ircdproto.ircd_cmd_211 = NULL; - ircdproto.ircd_cmd_svspart = NULL; ircdproto.ircd_cmd_swhois = NULL; ircdproto.ircd_cmd_eob = NULL; ircdproto.ircd_flood_mode_check = NULL; @@ -548,7 +547,7 @@ void anope_cmd_svsjoin(const char *source, const char *nick, const char *chan, c void anope_cmd_svspart(const char *source, const char *nick, const char *chan) { - ircdproto.ircd_cmd_svspart(source, nick, chan); + ircdprotonew->cmd_svspart(source, nick, chan); } void anope_cmd_swhois(const char *source, const char *who, const char *mask) @@ -690,12 +689,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void -pmodule_cmd_svspart(void (*func) (const char *source, const char *nick, const char *chan)) -{ - ircdproto.ircd_cmd_svspart = func; -} - void pmodule_cmd_swhois(void (*func) (const char *source, const char *who, const char *mask)) { ircdproto.ircd_cmd_swhois = func; |