1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 10:36:38 +02:00

Fix not logging debug info to the logfile when debug mode is enabled

This commit is contained in:
Adam
2013-01-21 06:38:13 -05:00
parent 846b56c724
commit 421db75528
+2 -2
View File
@@ -321,9 +321,9 @@ bool LogInfo::HasType(LogType ltype, const Anope::string &type) const
case LOG_TERMINAL:
return true;
case LOG_RAWIO:
return debug ? true : this->raw_io;
return (Anope::Debug || this->debug) ? true : this->raw_io;
case LOG_DEBUG:
return debug ? true : this->debug;
return Anope::Debug ? true : this->debug;
case LOG_DEBUG_2:
case LOG_DEBUG_3:
case LOG_DEBUG_4: