diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | 85e8e9eca082a49dfbd10ba3b2d8b24ba148cdd1 (patch) | |
tree | 1b64a2b3f6eb48a738d22e173ee877f3b534696d /src/protocol/unreal32.c | |
parent | 126e46395d03d3ae81776712089fd7cd9c28ccbc (diff) |
Added cmd_svid_umode2() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1260 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 72589ad90..bcfe96ac1 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -1415,13 +1415,10 @@ void UnrealIRCdProto::cmd_nc_change(User *u) } /* SVSMODE +r */ -void unreal_cmd_svid_umode2(User * u, const char *ts) +void UnrealIRCdProto::cmd_svid_umode2(User *u, const char *ts) { - if (u->svid != u->timestamp) { - common_svsmode(u, "+rd", ts); - } else { - common_svsmode(u, "+r", NULL); - } + if (u->svid != u->timestamp) common_svsmode(u, "+rd", ts); + else common_svsmode(u, "+r", NULL); } void unreal_cmd_svid_umode3(User * u, const char *ts) @@ -1924,7 +1921,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(unreal_cmd_242); pmodule_cmd_243(unreal_cmd_243); pmodule_cmd_211(unreal_cmd_211); - pmodule_cmd_svid_umode2(unreal_cmd_svid_umode2); pmodule_cmd_svid_umode3(unreal_cmd_svid_umode3); pmodule_cmd_svsjoin(unreal_cmd_svsjoin); pmodule_cmd_svspart(unreal_cmd_svspart); |