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
commitd4d0cf7d7bd55c12bf438919845b2428c46f69af (patch)
tree0b79247c33263a0efcadcaee3751ef1278e44ab3 /src/ircd.c
parent8d3d1775aeec744d54b3acfacc01cc70eadb44be (diff)
Added cmd_svsnoop function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1196 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r--src/ircd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 1d9c46d96..450767e67 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_svsnoop = NULL;
ircdproto.ircd_cmd_remove_akill = NULL;
ircdproto.ircd_cmd_topic = NULL;
ircdproto.ircd_cmd_vhost_off = NULL;
@@ -139,7 +138,7 @@ void anope_set_umode(User * user, int ac, const char **av)
void anope_cmd_svsnoop(const char *server, int set)
{
- ircdproto.ircd_cmd_svsnoop(server, set);
+ ircdprotonew->cmd_svsnoop(server, set);
}
void anope_cmd_remove_akill(const char *user, const char *host)
@@ -704,11 +703,6 @@ void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av))
ircdproto.ircd_set_mod_current_buffer = func;
}
-void pmodule_cmd_svsnoop(void (*func) (const char *server, int set))
-{
- ircdproto.ircd_cmd_svsnoop = func;
-}
-
void pmodule_cmd_remove_akill(void (*func) (const char *user, const char *host))
{
ircdproto.ircd_cmd_remove_akill = func;