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 | 7a167d97af6ef7e97c05488ae37c8f482173adb9 (patch) | |
tree | 6006339a603bf8d88c33c8c42811a1a63faac2f6 /src/protocol/unreal32.c | |
parent | 60b293b58edab6e6701f5b4911293a762fbbcf52 (diff) |
Added cmd_guest_nick() function to IRCDProtoClass.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1217 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 226aa3bf4..cf92b6530 100644 --- a/src/protocol/unreal32.c +++ b/src/protocol/unreal32.c @@ -596,13 +596,10 @@ void UnrealIRCdProto::cmd_nick(const char *nick, const char *name, const char *m unreal_cmd_sqline(nick, "Reserved for services"); } -void unreal_cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, - const char *modes) +void UnrealIRCdProto::cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes) { - send_cmd(NULL, "%s %s 1 %ld %s %s %s 0 %s %s%s :%s", - send_token("NICK", "&"), nick, (long int) time(NULL), user, - host, ServerName, modes, host, (myIrcd->nickip ? " *" : " "), - real); + send_cmd(NULL, "%s %s 1 %ld %s %s %s 0 %s %s%s :%s", send_token("NICK", "&"), nick, static_cast<long>(time(NULL)), user, host, ServerName, modes, host, + myIrcd->nickip ? " *" : " ", real); } void unreal_cmd_mode(const char *source, const char *dest, const char *buf) @@ -2089,7 +2086,6 @@ void moduleAddAnopeCmds() pmodule_cmd_372_error(unreal_cmd_372_error); pmodule_cmd_375(unreal_cmd_375); pmodule_cmd_376(unreal_cmd_376); - pmodule_cmd_guest_nick(unreal_cmd_guest_nick); pmodule_cmd_mode(unreal_cmd_mode); pmodule_cmd_bot_nick(unreal_cmd_bot_nick); pmodule_cmd_kick(unreal_cmd_kick); |