summaryrefslogtreecommitdiff
path: root/src/protocol/ptlink.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/ptlink.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/ptlink.c')
-rw-r--r--src/protocol/ptlink.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/protocol/ptlink.c b/src/protocol/ptlink.c
index 2b37f56f9..be1c3e3b1 100644
--- a/src/protocol/ptlink.c
+++ b/src/protocol/ptlink.c
@@ -695,9 +695,9 @@ void ptlink_cmd_svsadmin(char *server, int set)
parv[0] = sender (server if on network synchronization)
parv[1] = glined usert@host mask or ALL to remove all glines
*/
-void ptlink_cmd_remove_akill(char *user, char *host)
+void PTlinkProto::cmd_remove_akill(const char *user, const char *host)
{
- send_cmd(NULL, "UNGLINE %s@%s", user, host);
+ send_cmd(NULL, "UNGLINE %s@%s", user, host);
}
@@ -1682,7 +1682,6 @@ void ptlink_cmd_ctcp(char *source, char *dest, char *buf)
**/
void moduleAddAnopeCmds()
{
- pmodule_cmd_remove_akill(ptlink_cmd_remove_akill);
pmodule_cmd_topic(ptlink_cmd_topic);
pmodule_cmd_vhost_off(ptlink_cmd_vhost_off);
pmodule_cmd_akill(ptlink_cmd_akill);