From 344187e10cb408b1e56913691db9ac3eb724bc67 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:12 +0000 Subject: Added cmd_unszline() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1253 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/bahamut.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/protocol/bahamut.c') 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); -- cgit