summaryrefslogtreecommitdiff
path: root/src/protocol/unreal32.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-30 18:45:12 +0000
commitdf91ba9d7c66c12b91906f04334c68d25d5a3a0c (patch)
treea587ca867602dddab20935c49aeb4557b6885750 /src/protocol/unreal32.c
parent10fc9efa4da5124f183fd023c623d1e573e1a51d (diff)
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
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r--src/protocol/unreal32.c12
1 files changed, 3 insertions, 9 deletions
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);