1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 00:46:38 +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
@@ -144,7 +144,7 @@ class InspIRCdProto : public IRCDProto
void SendClientIntroduction(const User *u, const Anope::string &modes)
{
send_cmd(Config->ServerName, "NICK %ld %s %s %s %s %s 0.0.0.0 :%s", u->timestamp, u->nick.c_str(), u->host.c_str(), u->host.c_str(), u->GetIdent().c_str(), modes.c_str(), u->realname.c_str());
send_cmd(Config->ServerName, "NICK %ld %s %s %s %s %s 0.0.0.0 :%s", static_cast<long>(u->timestamp), u->nick.c_str(), u->host.c_str(), u->host.c_str(), u->GetIdent().c_str(), modes.c_str(), u->realname.c_str());
send_cmd(u->nick, "OPERTYPE Service");
}
@@ -275,7 +275,7 @@ class InspIRCdProto : public IRCDProto
void SendBOB()
{
send_cmd("", "BURST %ld", Anope::CurTime);
send_cmd("", "BURST %ld", static_cast<long>(Anope::CurTime));
}
void SendEOB()