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
commit78ef810376f47aa52f51a92749110b31b363c036 (patch)
tree7cfb08f06602054343fdfc8a711d5dae1f5fe951 /src/protocol/bahamut.c
parent4a4c4a9ee13ee06c7a1803f313e9c2a48e017e75 (diff)
Added cmd_unban() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1256 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/bahamut.c')
-rw-r--r--src/protocol/bahamut.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c
index 8b1a31698..08dd5e74e 100644
--- a/src/protocol/bahamut.c
+++ b/src/protocol/bahamut.c
@@ -492,9 +492,9 @@ void BahamutIRCdProto::cmd_release_svshold(const char *nick)
}
/* SVSMODE -b */
-void bahamut_cmd_unban(const char *name, const char *nick)
+void BahamutIRCdProto::cmd_unban(const char *name, const char *nick)
{
- bahamut_cmd_svsmode_chan(name, "-b", nick);
+ bahamut_cmd_svsmode_chan(name, "-b", nick);
}
@@ -1395,7 +1395,6 @@ void moduleAddAnopeCmds()
pmodule_cmd_242(bahamut_cmd_242);
pmodule_cmd_243(bahamut_cmd_243);
pmodule_cmd_211(bahamut_cmd_211);
- pmodule_cmd_unban(bahamut_cmd_unban);
pmodule_cmd_svsmode_chan(bahamut_cmd_svsmode_chan);
pmodule_cmd_svid_umode(bahamut_cmd_svid_umode);
pmodule_cmd_nc_change(bahamut_cmd_nc_change);