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 | 4a4c4a9ee13ee06c7a1803f313e9c2a48e017e75 (patch) | |
tree | 392ffb3b6c3bf8e455e7e963087cb834718169df /src/ircd.c | |
parent | 8d6828fb8f84431c50914fa9161c46bdfa67a384 (diff) |
Added cmd_sgline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1255 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 2bd2e69e0..e7cefcc4f 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_sgline = NULL; ircdproto.ircd_cmd_unban = NULL; ircdproto.ircd_cmd_svsmode_chan = NULL; ircdproto.ircd_cmd_svid_umode = NULL; @@ -517,7 +516,7 @@ void anope_cmd_szline(const char *mask, const char *reason, const char *whom) void anope_cmd_sgline(const char *mask, const char *reason) { - ircdproto.ircd_cmd_sgline(mask, reason); + ircdprotonew->cmd_sgline(mask, reason); } void anope_cmd_unban(const char *name, const char *nick) @@ -700,11 +699,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_sgline(void (*func) (const char *mask, const char *reason)) -{ - ircdproto.ircd_cmd_sgline = func; -} - void pmodule_cmd_unban(void (*func) (const char *name, const char *nick)) { ircdproto.ircd_cmd_unban = func; |