summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-27 22:53:16 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-03-27 22:53:16 +0000
commit601c546957a94cbe8344f97e22f3446899463c85 (patch)
treeb46e2628201f0d9b32fe7a39c797ac9c79784cc5 /src/protocol.cpp
parent3f57c91613df763f1aa73018620140b308134b34 (diff)
Fix protocol violation error.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2211 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 1a1eb69b5..bfd0f083a 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -201,7 +201,7 @@ void IRCDProto::SendSquit(const char *servname, const char *message)
void IRCDProto::SendChangeBotNick(BotInfo *bi, const char *newnick)
{
- send_cmd(ircd->ts6 ? bi->uid : bi->nick, "NICK %s", newnick);
+ send_cmd(ircd->ts6 ? bi->uid : bi->nick, "NICK %s %ld", newnick, static_cast<long>(time(NULL)));
}
void IRCDProto::SendForceNickChange(const char *oldnick, const char *newnick, time_t when)
{