1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 18:06:39 +02:00

Fixed some Windows problems

This commit is contained in:
Adam
2010-10-22 04:18:57 -04:00
parent 791c2b89a5
commit eb8f3a799c
11 changed files with 23 additions and 17 deletions
+2 -2
View File
@@ -143,7 +143,7 @@ class InspIRCdProto : public IRCDProto
void SendClientIntroduction(const User *u, const Anope::string &modes)
{
send_cmd(TS6SID, "UID %s %ld %s %s %s %s 0.0.0.0 %ld %s :%s", u->GetUID().c_str(), u->timestamp, u->nick.c_str(), u->host.c_str(), u->host.c_str(), u->GetIdent().c_str(), u->my_signon, modes.c_str(), u->realname.c_str());
send_cmd(TS6SID, "UID %s %ld %s %s %s %s 0.0.0.0 %ld %s :%s", u->GetUID().c_str(), static_cast<long>(u->timestamp), u->nick.c_str(), u->host.c_str(), u->host.c_str(), u->GetIdent().c_str(), static_cast<long>(u->my_signon), modes.c_str(), u->realname.c_str());
}
void SendKickInternal(const BotInfo *source, const Channel *chan, const User *user, const Anope::string &buf)
@@ -271,7 +271,7 @@ class InspIRCdProto : public IRCDProto
void SendBOB()
{
send_cmd(TS6SID, "BURST %ld", Anope::CurTime);
send_cmd(TS6SID, "BURST %ld", static_cast<long>(Anope::CurTime));
}
void SendEOB()