summaryrefslogtreecommitdiff
path: root/src/ircd.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/ircd.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/ircd.c')
-rw-r--r--src/ircd.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 450767e67..80c72cf65 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -46,7 +46,6 @@ void initIrcdProto()
{
ircdproto.ircd_set_mod_current_buffer = NULL;
ircdproto.ircd_set_umode = NULL;
- ircdproto.ircd_cmd_remove_akill = NULL;
ircdproto.ircd_cmd_topic = NULL;
ircdproto.ircd_cmd_vhost_off = NULL;
ircdproto.ircd_cmd_akill = NULL;
@@ -138,12 +137,12 @@ void anope_set_umode(User * user, int ac, const char **av)
void anope_cmd_svsnoop(const char *server, int set)
{
- ircdprotonew->cmd_svsnoop(server, set);
+ ircdprotonew->cmd_svsnoop(server, set);
}
void anope_cmd_remove_akill(const char *user, const char *host)
{
- ircdproto.ircd_cmd_remove_akill(user, host);
+ ircdprotonew->cmd_remove_akill(user, host);
}
void anope_cmd_topic(const char *whosets, const char *chan, const char *whosetit,
@@ -703,11 +702,6 @@ void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av))
ircdproto.ircd_set_mod_current_buffer = func;
}
-void pmodule_cmd_remove_akill(void (*func) (const char *user, const char *host))
-{
- ircdproto.ircd_cmd_remove_akill = func;
-}
-
void pmodule_cmd_topic(void (*func)
(const char *whosets, const char *chan, const char *whosetit,
const char *topic, time_t when))