projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
360129d
)
removed some debug output
author
pk910
<philipp@zoelle1.de>
Tue, 28 Jun 2011 13:33:01 +0000
(15:33 +0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 28 Jun 2011 13:33:01 +0000
(15:33 +0200)
ircd/m_webirc.c
patch
|
blob
|
history
diff --git
a/ircd/m_webirc.c
b/ircd/m_webirc.c
index 6f05d2ceb1bb9fbf4aa1c78dfdb8755e95d92974..e235e7f6058798b0e9c315fd8849cc8421cb8e58 100644
(file)
--- 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;
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;
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) {
unsigned int matched = 0;
if(!GlobalWebIRCConf) {
- Debug((DEBUG_NOTICE, "WebIRC: no global webirc conf"));
return NULL;
}
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;
/* 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;
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;
/* 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;
/* 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);
inode = inode->next;
} while(inode != iter->list);
- if(!matched)
- Debug((DEBUG_NOTICE, "WebIRC: host missmatch"));
}
/* check for matching spoofed host/ip */
}
/* 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);
inode = inode->next;
} while(inode != iter->list);
- if(!matched)
- Debug((DEBUG_NOTICE, "WebIRC: spoof missmatch"));
}
if(matched) return iter;
}
if(matched) return iter;