diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | 00466f884cca8975972d0802999288da2c0b9fdf (patch) | |
tree | bc6a5351dc09820330d6b3429b654bf9377f06b7 /src/protocol/unreal32.c | |
parent | 7a167d97af6ef7e97c05488ae37c8f482173adb9 (diff) |
Added cmd_mode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1218 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index cf92b6530..f74e15b7e 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -602,13 +602,10 @@ void UnrealIRCdProto::cmd_guest_nick(const char *nick, const char *user, const c myIrcd->nickip ? " *" : " ", real); } -void unreal_cmd_mode(const char *source, const char *dest, const char *buf) +void UnrealIRCdProto::cmd_mode(const char *source, const char *dest, const char *buf) { - if (!buf) { - return; - } - - send_cmd(source, "%s %s %s", send_token("MODE", "G"), dest, buf); + if (!buf) return; + send_cmd(source, "%s %s %s", send_token("MODE", "G"), dest, buf); } void unreal_cmd_bot_nick(const char *nick, const char *user, const char *host, const char *real, @@ -2086,7 +2083,6 @@ void moduleAddAnopeCmds() pmodule_cmd_372_error(unreal_cmd_372_error); pmodule_cmd_375(unreal_cmd_375); pmodule_cmd_376(unreal_cmd_376); - pmodule_cmd_mode(unreal_cmd_mode); pmodule_cmd_bot_nick(unreal_cmd_bot_nick); pmodule_cmd_kick(unreal_cmd_kick); pmodule_cmd_notice_ops(unreal_cmd_notice_ops); |