diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:09 +0000 |
commit | 0f2719990e6b61c9172e0a4593b7a1605bb29f44 (patch) | |
tree | 3a17771feac2e755d3e5700e49b1b90e5126b42d /src/protocol/ratbox.c | |
parent | 6feb4755adb8011d90cc75a934b08eaeff2f7f41 (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/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index ec1ed357a..edeebd12f 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -806,13 +806,10 @@ void ratbox_cmd_sgline(char *mask, char *reason) "XLINE * %s 0 :%s", mask, reason); } -void ratbox_cmd_remove_akill(char *user, char *host) +void RatboxProto::cmd_remove_akill(const char *user, const char *host) { - Uid *ud; - - ud = find_uid(s_OperServ); - send_cmd((UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ), - "UNKLINE * %s %s", user, host); + Uid *ud = find_uid(s_OperServ); + send_cmd(UseTS6 ? (ud ? ud->uid : s_OperServ) : s_OperServ, "UNKLINE * %s %s", user, host); } void ratbox_cmd_topic(char *whosets, char *chan, char *whosetit, @@ -1762,7 +1759,6 @@ void ratbox_cmd_ctcp(char *source, char *dest, char *buf) **/ void moduleAddAnopeCmds() { - pmodule_cmd_remove_akill(ratbox_cmd_remove_akill); pmodule_cmd_topic(ratbox_cmd_topic); pmodule_cmd_vhost_off(ratbox_cmd_vhost_off); pmodule_cmd_akill(ratbox_cmd_akill); |