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 | d4d0cf7d7bd55c12bf438919845b2428c46f69af (patch) | |
tree | 0b79247c33263a0efcadcaee3751ef1278e44ab3 /src/protocol/unreal31.c | |
parent | 8d3d1775aeec744d54b3acfacc01cc70eadb44be (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/protocol/unreal31.c')
-rw-r--r-- | src/protocol/unreal31.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/protocol/unreal31.c b/src/protocol/unreal31.c index 77fcab38a..0c44a3e8b 100644 --- a/src/protocol/unreal31.c +++ b/src/protocol/unreal31.c @@ -491,14 +491,14 @@ int anope_event_capab(char *source, int ac, char **av) return MOD_CONT; } -void unreal_cmd_svsnoop(char *server, int set) +void UnrealIRCdProto::cmd_svsnoop(const char *server, int set) { - send_cmd(NULL, "SVSNOOP %s %s", server, (set ? "+" : "-")); + send_cmd(NULL, "SVSNOOP %s %s", server, set ? "+" : "-"); } void unreal_cmd_svsadmin(char *server, int set) { - unreal_cmd_svsnoop(server, set); + ircd_proto.cmd_svsnoop(server, set); } void unreal_cmd_remove_akill(char *user, char *host) @@ -1478,7 +1478,6 @@ void unreal_cmd_ctcp(char *source, char *dest, char *buf) **/ void moduleAddAnopeCmds() { - pmodule_cmd_svsnoop(unreal_cmd_svsnoop); pmodule_cmd_remove_akill(unreal_cmd_remove_akill); pmodule_cmd_topic(unreal_cmd_topic); pmodule_cmd_vhost_off(unreal_cmd_vhost_off); |