From df91ba9d7c66c12b91906f04334c68d25d5a3a0c Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:12 +0000 Subject: Added cmd_svid_umode() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1258 5417fbe8-f217-4b02-8779-1006273d7864 --- src/protocol/unreal32.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/protocol/unreal32.c') diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 695a6d324..bbc2f47c4 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1401,15 +1401,10 @@ void UnrealIRCdProto::cmd_svsmode_chan(const char *name, const char *mode, const /* SVSMODE +d */ /* sent if svid is something weird */ -void unreal_cmd_svid_umode(const char *nick, time_t ts) +void UnrealIRCdProto::cmd_svid_umode(const char *nick, time_t ts) { - if (UseSVS2MODE) { - send_cmd(ServerName, "%s %s +d 1", send_token("SVS2MODE", "v"), - nick); - } else { - send_cmd(ServerName, "%s %s +d 1", send_token("SVSMODE", "n"), - nick); - } + if (UseSVS2MODE) send_cmd(ServerName, "%s %s +d 1", send_token("SVS2MODE", "v"), nick); + else send_cmd(ServerName, "%s %s +d 1", send_token("SVSMODE", "n"), nick); } /* SVSMODE +d */ @@ -1929,7 +1924,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(unreal_cmd_242); pmodule_cmd_243(unreal_cmd_243); pmodule_cmd_211(unreal_cmd_211); - pmodule_cmd_svid_umode(unreal_cmd_svid_umode); pmodule_cmd_nc_change(unreal_cmd_nc_change); pmodule_cmd_svid_umode2(unreal_cmd_svid_umode2); pmodule_cmd_svid_umode3(unreal_cmd_svid_umode3); -- cgit