diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | cef2f72082b3ac4d8ebd5795e27fa986db422a33 (patch) | |
tree | cb26d0cf9943a740dcd909ba2616c35cde2846a5 /src/protocol/unreal32.c | |
parent | f9b628b0d37844e66a8d2acae797a81444df78ba (diff) |
Added cmd_topic() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1209 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/unreal32.c')
-rw-r--r-- | src/protocol/unreal32.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/protocol/unreal32.c b/src/protocol/unreal32.c index 4d7c94997..fb1ffab4c 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -517,11 +517,9 @@ void UnrealIRCdProto::cmd_remove_akill(const char *user, const char *host) send_cmd(NULL, "%s - G %s %s %s", send_token("TKL", "BD"), user, host, s_OperServ); } -void unreal_cmd_topic(const char *whosets, const char *chan, const char *whosetit, - const char *topic, time_t when) +void UnrealIRCdProto::cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when) { - send_cmd(whosets, "%s %s %s %lu :%s", send_token("TOPIC", ")"), chan, - whosetit, (unsigned long int) when, topic); + send_cmd(whosets, "%s %s %s %lu :%s", send_token("TOPIC", ")"), chan, whosetit, static_cast<unsigned long>(when), topic); } void unreal_cmd_vhost_off(User * u) @@ -2106,7 +2104,6 @@ void moduleAddIRCDMsgs(void) { **/ void moduleAddAnopeCmds() { - pmodule_cmd_topic(unreal_cmd_topic); pmodule_cmd_vhost_off(unreal_cmd_vhost_off); pmodule_cmd_akill(unreal_cmd_akill); pmodule_cmd_svskill(unreal_cmd_svskill); |