summaryrefslogtreecommitdiff
path: root/src/ircd.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:12 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
commit8d6828fb8f84431c50914fa9161c46bdfa67a384 (patch)
tree5afc7429ce42ad552432ace90453509610af2069 /src/ircd.c
parent344187e10cb408b1e56913691db9ac3eb724bc67 (diff)
Added cmd_szline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1254 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 370507d5b..2bd2e69e0 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_szline = NULL;
ircdproto.ircd_cmd_sgline = NULL;
ircdproto.ircd_cmd_unban = NULL;
ircdproto.ircd_cmd_svsmode_chan = NULL;
@@ -513,7 +512,7 @@ void anope_cmd_unszline(const char *mask)
void anope_cmd_szline(const char *mask, const char *reason, const char *whom)
{
- ircdproto.ircd_cmd_szline(mask, reason, whom);
+ ircdprotonew->cmd_szline(mask, reason, whom);
}
void anope_cmd_sgline(const char *mask, const char *reason)
@@ -701,12 +700,6 @@ void pmodule_cmd_211(void (*func) (const char *buf))
ircdproto.ircd_cmd_211 = func;
}
-void
-pmodule_cmd_szline(void (*func) (const char *mask, const char *reason, const char *whom))
-{
- ircdproto.ircd_cmd_szline = func;
-}
-
void pmodule_cmd_sgline(void (*func) (const char *mask, const char *reason))
{
ircdproto.ircd_cmd_sgline = func;