diff options
author | Adam <Adam@anope.org> | 2010-10-22 04:18:57 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-22 04:20:34 -0400 |
commit | eb8f3a799ca006ac4ca03b77df9bad5f2b6cd3d5 (patch) | |
tree | d9c47c3c6928be86cd07d1258b66623a1d2708bb /modules/protocol/ratbox.cpp | |
parent | 791c2b89a5b09d3e3e3785669b29438ffec26295 (diff) |
Fixed some Windows problems
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index 285c308fb..6882954fc 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -174,7 +174,7 @@ class RatboxProto : public IRCDProto void SendClientIntroduction(const User *u, const Anope::string &modes) { EnforceQlinedNick(u->nick, ""); - send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", u->nick.c_str(), u->timestamp, modes.c_str(), u->GetIdent().c_str(), u->host.c_str(), u->GetUID().c_str(), u->realname.c_str()); + send_cmd(TS6SID, "UID %s 1 %ld %s %s %s 0 %s :%s", u->nick.c_str(), static_cast<long>(u->timestamp), modes.c_str(), u->GetIdent().c_str(), u->host.c_str(), u->GetUID().c_str(), u->realname.c_str()); } void SendPartInternal(const BotInfo *bi, const Channel *chan, const Anope::string &buf) |