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/shadowircd.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/shadowircd.c')
| -rw-r--r-- | src/protocol/shadowircd.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/protocol/shadowircd.c b/src/protocol/shadowircd.c index 350a9e690..b8325c976 100644 --- a/src/protocol/shadowircd.c +++ b/src/protocol/shadowircd.c @@ -842,12 +842,10 @@ void shadowircd_cmd_sgline(char *mask, char *reason) /* does not support */ } -void shadowircd_cmd_remove_akill(char *user, char *host) +void ShadowIRCdProto::cmd_remove_akill(const char *user, const char *host) { - Uid *ud; - - ud = find_uid(s_OperServ); - send_cmd((ud ? ud->uid : s_OperServ), "UNKLINE * %s %s", user, host); + Uid *ud = find_uid(s_OperServ); + send_cmd(ud ? ud->uid : s_OperServ, "UNKLINE * %s %s", user, host); } void shadowircd_cmd_topic(char *whosets, char *chan, char *whosetit, @@ -1713,7 +1711,6 @@ void shadowircd_cmd_ctcp(char *source, char *dest, char *buf) **/ void moduleAddAnopeCmds() { - pmodule_cmd_remove_akill(shadowircd_cmd_remove_akill); pmodule_cmd_topic(shadowircd_cmd_topic); pmodule_cmd_vhost_off(shadowircd_cmd_vhost_off); pmodule_cmd_akill(shadowircd_cmd_akill); |
