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 | df91ba9d7c66c12b91906f04334c68d25d5a3a0c (patch) | |
tree | a587ca867602dddab20935c49aeb4557b6885750 /src/protocol/bahamut.c | |
parent | 10fc9efa4da5124f183fd023c623d1e573e1a51d (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/bahamut.c')
-rw-r--r-- | src/protocol/bahamut.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/protocol/bahamut.c b/src/protocol/bahamut.c index 4394877ac..752867263 100644 --- a/src/protocol/bahamut.c +++ b/src/protocol/bahamut.c @@ -1180,10 +1180,9 @@ void BahamutIRCdProto::cmd_guest_nick(const char *nick, const char *user, const /* SVSMODE +d */ /* sent if svid is something weird */ -void bahamut_cmd_svid_umode(const char *nick, time_t ts) +void BahamutIRCdProto::cmd_svid_umode(const char *nick, time_t ts) { - send_cmd(ServerName, "SVSMODE %s %lu +d 1", nick, - (unsigned long int) ts); + send_cmd(ServerName, "SVSMODE %s %lu +d 1", nick, static_cast<unsigned long>(ts)); } @@ -1392,7 +1391,6 @@ void moduleAddAnopeCmds() pmodule_cmd_242(bahamut_cmd_242); pmodule_cmd_243(bahamut_cmd_243); pmodule_cmd_211(bahamut_cmd_211); - pmodule_cmd_svid_umode(bahamut_cmd_svid_umode); pmodule_cmd_nc_change(bahamut_cmd_nc_change); pmodule_cmd_svid_umode2(bahamut_cmd_svid_umode2); pmodule_cmd_svid_umode3(bahamut_cmd_svid_umode3); |