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 | b1b5df38eb70068c3dea2dad90285d54b6365e4b (patch) | |
tree | 36af49ed82a266410bd5f1c91dfa292ebaaafc8d /src/ircd.c | |
parent | f8aff52e25d3464d2a21ef0527f30e5a7d6fab9b (diff) |
Added cmd_sqline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1243 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c index a09a19ea9..ccb4504c0 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_sqline = NULL; ircdproto.ircd_cmd_squit = NULL; ircdproto.ircd_cmd_svso = NULL; ircdproto.ircd_cmd_chg_nick = NULL; @@ -469,7 +468,7 @@ void anope_cmd_global(const char *source, const char *fmt, ...) void anope_cmd_sqline(const char *mask, const char *reason) { - ircdproto.ircd_cmd_sqline(mask, reason); + ircdprotonew->cmd_sqline(mask, reason); } void anope_cmd_squit(const char *servname, const char *message) @@ -712,11 +711,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_sqline(void (*func) (const char *mask, const char *reason)) -{ - ircdproto.ircd_cmd_sqline = func; -} - void pmodule_cmd_squit(void (*func) (const char *servname, const char *message)) { ircdproto.ircd_cmd_squit = func; |