summaryrefslogtreecommitdiff
path: root/src/protocol/bahamut.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/protocol/bahamut.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/protocol/bahamut.c')
-rw-r--r--src/protocol/bahamut.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index d5cd4c0b8..b0cf99c14 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -699,12 +699,12 @@ void BahamutIRCdProto::cmd_unsgline(const char *mask)
}
/* UNSZLINE */
-void bahamut_cmd_unszline(const char *mask)
+void BahamutIRCdProto::cmd_unszline(const char *mask)
{
- /* this will likely fail so its only here for legacy */
- send_cmd(NULL, "UNSZLINE 0 %s", mask);
- /* this is how we are supposed to deal with it */
- send_cmd(NULL, "RAKILL %s *", mask);
+ /* this will likely fail so its only here for legacy */
+ send_cmd(NULL, "UNSZLINE 0 %s", mask);
+ /* this is how we are supposed to deal with it */
+ send_cmd(NULL, "RAKILL %s *", mask);
}
/* SZLINE */
@@ -1396,7 +1396,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_242(bahamut_cmd_242);
pmodule_cmd_243(bahamut_cmd_243);
pmodule_cmd_211(bahamut_cmd_211);
- pmodule_cmd_unszline(bahamut_cmd_unszline);
pmodule_cmd_szline(bahamut_cmd_szline);
pmodule_cmd_sgline(bahamut_cmd_sgline);
pmodule_cmd_unban(bahamut_cmd_unban);