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/bahamut.cpp | |
parent | 791c2b89a5b09d3e3e3785669b29438ffec26295 (diff) |
Fixed some Windows problems
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r-- | modules/protocol/bahamut.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 268b33eda..70dffb8ce 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -257,7 +257,7 @@ class BahamutIRCdProto : public IRCDProto void SendClientIntroduction(const User *u, const Anope::string &modes) { EnforceQlinedNick(u->nick, Config->s_BotServ); - send_cmd("", "NICK %s 1 %ld %s %s %s %s 0 0 :%s", u->nick.c_str(), u->timestamp, modes.c_str(), u->GetIdent().c_str(), u->host.c_str(), u->server->GetName().c_str(), u->realname.c_str()); + send_cmd("", "NICK %s 1 %ld %s %s %s %s 0 0 :%s", u->nick.c_str(), static_cast<long>(u->timestamp), modes.c_str(), u->GetIdent().c_str(), u->host.c_str(), u->server->GetName().c_str(), u->realname.c_str()); } /* SVSMODE +d */ |