From 7e967707966bd26986de642daf0b8c79d3ecea4e Mon Sep 17 00:00:00 2001 From: pk910 Date: Tue, 28 Jun 2011 15:33:01 +0200 Subject: [PATCH] removed some debug output --- ircd/m_webirc.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ircd/m_webirc.c b/ircd/m_webirc.c index 6f05d2c..e235e7f 100644 --- a/ircd/m_webirc.c +++ b/ircd/m_webirc.c @@ -47,7 +47,6 @@ static unsigned int webirc_pwmatch(const char* to_match, const char* passwd) { crypted = ircd_crypt(to_match, passwd); if(!crypted) return 0; - Debug((DEBUG_NOTICE, "WebIRC: Passwort check: %s = %s", crypted, passwd)); res = strcmp(crypted, passwd); MyFree(crypted); return 0 == res; @@ -62,7 +61,6 @@ static struct webirc_block *webirc_match(const char *passwd, const char *real_ho unsigned int matched = 0; if(!GlobalWebIRCConf) { - Debug((DEBUG_NOTICE, "WebIRC: no global webirc conf")); return NULL; } @@ -76,7 +74,6 @@ static struct webirc_block *webirc_match(const char *passwd, const char *real_ho /* it's a sorted list an passwords are stored first! */ if(inode->type != WEBIRC_PASS) break; - Debug((DEBUG_NOTICE, "WebIRC: pass: %s",inode->content)); if(webirc_pwmatch(passwd, inode->content)) { matched = 1; break; @@ -88,9 +85,6 @@ static struct webirc_block *webirc_match(const char *passwd, const char *real_ho /* go to next entry */ inode = inode->next; - if(!matched) - Debug((DEBUG_NOTICE, "WebIRC: Password missmatch")); - /* check for matching real-host/ip */ if(matched) { matched = 0; @@ -113,8 +107,6 @@ static struct webirc_block *webirc_match(const char *passwd, const char *real_ho inode = inode->next; } while(inode != iter->list); - if(!matched) - Debug((DEBUG_NOTICE, "WebIRC: host missmatch")); } /* check for matching spoofed host/ip */ @@ -135,8 +127,6 @@ static struct webirc_block *webirc_match(const char *passwd, const char *real_ho inode = inode->next; } while(inode != iter->list); - if(!matched) - Debug((DEBUG_NOTICE, "WebIRC: spoof missmatch")); } if(matched) return iter; -- 2.20.1