1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 14:06:37 +02:00

Added a new logging system

This commit is contained in:
Adam
2010-08-27 20:56:28 -04:00
parent 73fb94c553
commit c2ddecc2b1
119 changed files with 1516 additions and 1222 deletions
+2 -2
View File
@@ -601,7 +601,7 @@ void EnforceQlinedNick(const Anope::string &nick, const Anope::string &killer)
if (u2)
{
Alog() << "Killed Q-lined nick: " << u2->GetMask();
Log() << "Killed Q-lined nick: " << u2->GetMask();
kill_user(killer, u2->nick, "This nick is reserved for Services. Please use a non Q-Lined nick.");
}
}
@@ -834,7 +834,7 @@ Anope::string host_resolve(const Anope::string &host)
char ipbuf[16];
ntoa(addr, ipbuf, sizeof(ipbuf));
ipreturn = ipbuf;
Alog(LOG_DEBUG) << "resolved " << host << " to " << ipbuf;
Log(LOG_DEBUG) << "resolved " << host << " to " << ipbuf;
}
return ipreturn;
}