diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | 24ae706b9cbeef0efc697c15df3fec3828e2bdc1 (patch) | |
tree | 5937dbb9ed5b7b70c213891ae80a41833f337731 /src/protocol/ratbox.c | |
parent | 3d4bf6d876f2ad537506cc2e3d0ef5d7051762e6 (diff) |
Added cmd_svsmode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1214 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/ratbox.c')
-rw-r--r-- | src/protocol/ratbox.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c index e0b3ebfc9..53fb8675d 100644 --- a/src/protocol/ratbox.c +++ b/src/protocol/ratbox.c @@ -832,10 +832,9 @@ void RatboxProto::cmd_svskill(const char *source, const char *user, const char * send_cmd(UseTS6 ? (ud ? ud->uid : source) : source, "KILL %s :%s", UseTS6 ? (ud2 ? ud2->uid : user) : user, buf); } -void ratbox_cmd_svsmode(User * u, int ac, const char **av) +void RatboxProto::cmd_svsmode(User *u, int ac, const char **av) { - send_cmd((UseTS6 ? TS6SID : ServerName), "SVSMODE %s %s", u->nick, - av[0]); + send_cmd(UseTS6 ? TS6SID : ServerName, "SVSMODE %s %s", u->nick, av[0]); } /* @@ -1702,7 +1701,6 @@ void ratbox_cmd_ctcp(const char *source, const char *dest, const char *buf) **/ void moduleAddAnopeCmds() { - pmodule_cmd_svsmode(ratbox_cmd_svsmode); pmodule_cmd_372(ratbox_cmd_372); pmodule_cmd_372_error(ratbox_cmd_372_error); pmodule_cmd_375(ratbox_cmd_375); |