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
commit344187e10cb408b1e56913691db9ac3eb724bc67 (patch)
tree4dc709a627b53c133238ac2f1138e58a354631de /src/ircd.c
parent7c9682775a6b374d80b68ff46634b315a9e098c3 (diff)
Added cmd_unszline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1253 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c
index a4edd0b18..370507d5b 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_unszline = NULL;
ircdproto.ircd_cmd_szline = NULL;
ircdproto.ircd_cmd_sgline = NULL;
ircdproto.ircd_cmd_unban = NULL;
@@ -509,7 +508,7 @@ void anope_cmd_unsgline(const char *mask)
void anope_cmd_unszline(const char *mask)
{
- ircdproto.ircd_cmd_unszline(mask);
+ ircdprotonew->cmd_unszline(mask);
}
void anope_cmd_szline(const char *mask, const char *reason, const char *whom)
@@ -702,11 +701,6 @@ void pmodule_cmd_211(void (*func) (const char *buf))
ircdproto.ircd_cmd_211 = func;
}
-void pmodule_cmd_unszline(void (*func) (const char *mask))
-{
- ircdproto.ircd_cmd_unszline = func;
-}
-
void
pmodule_cmd_szline(void (*func) (const char *mask, const char *reason, const char *whom))
{