added cmd_myaccess override message and blocked iohandler log through irc completely
[NeonServV5.git] / src / log.c
index 6e1ba878e04dabe53776ecb35186bbd691a5dc23..9907f2b392fdc01260161c47d88a1b057e4f07f4 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -138,7 +138,7 @@ static void write_log(const char *module, const int section, const char *line, i
         if(!(target->section & section))
             continue;
         if(target->type == LOG_TARGET_TYPE_IRC) {
-            if(section == LOG_IRCRAW || (!stricmp(module, "iohandler") && section == LOG_DEBUG))
+            if(section == LOG_IRCRAW || !stricmp(module, "iohandler"))
                 continue; //endless loop ;)
             struct ChanNode *channel = getChanByName(target->target.channel);
             struct ClientSocket *client;