diff options
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 80378acc5..b075306a4 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -502,15 +502,14 @@ int anope_event_capab(char *source, int ac, char **av) } /* SVSNOOP */ -void unreal_cmd_svsnoop(char *server, int set) +void UnrealIRCdProto::cmd_svsnoop(const char *server, int set) { - send_cmd(NULL, "%s %s %s", send_token("SVSNOOP", "f"), server, - (set ? "+" : "-")); + send_cmd(NULL, "%s %s %s", send_token("SVSNOOP", "f"), 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) @@ -2118,7 +2117,6 @@ void moduleAddIRCDMsgs(void) { **/ 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); |