summaryrefslogtreecommitdiff
path: root/src/protocol/ultimate2.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:09 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:09 +0000
commit0f2719990e6b61c9172e0a4593b7a1605bb29f44 (patch)
tree3a17771feac2e755d3e5700e49b1b90e5126b42d /src/protocol/ultimate2.c
parent6feb4755adb8011d90cc75a934b08eaeff2f7f41 (diff)
Added cmd_remove_akill() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1199 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/ultimate2.c')
-rw-r--r--src/protocol/ultimate2.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/ultimate2.c b/src/protocol/ultimate2.c
index e9593addd..9c5ce5ca9 100644
--- a/src/protocol/ultimate2.c
+++ b/src/protocol/ultimate2.c
@@ -792,9 +792,9 @@ void ultimate2_cmd_svsadmin(char *server, int set)
ircd_proto.cmd_svsnoop(server, set);
}
-void ultimate2_cmd_remove_akill(char *user, char *host)
+void UltimateIRCdProto::cmd_remove_akill(const char *user, const char *host)
{
- send_cmd(NULL, "RAKILL %s %s", host, user);
+ send_cmd(NULL, "RAKILL %s %s", host, user);
}
@@ -1620,7 +1620,6 @@ void ultimate2_cmd_ctcp(char *source, char *dest, char *buf)
**/
void moduleAddAnopeCmds()
{
- pmodule_cmd_remove_akill(ultimate2_cmd_remove_akill);
pmodule_cmd_topic(ultimate2_cmd_topic);
pmodule_cmd_vhost_off(ultimate2_cmd_vhost_off);
pmodule_cmd_akill(ultimate2_cmd_akill);