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

BUILD : 1.7.21 (1377) BUGS : 857 NOTES : Fixed the findchan() debug messages so you now have ubercool debug stuff when you enter debug level 3\!

git-svn-id: svn://svn.anope.org/anope/trunk@1377 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1092 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2008-02-07 11:00:05 +00:00
parent dc313bfab6
commit b0ea0e9e9c
3 changed files with 10 additions and 2 deletions
+4 -1
View File
@@ -371,8 +371,11 @@ Channel *findchan(const char *chan)
alog("debug: findchan(%p)", chan);
c = chanlist[HASH(chan)];
while (c) {
if (stricmp(c->name, chan) == 0)
if (stricmp(c->name, chan) == 0) {
if (debug >= 3)
alog("debug: findchan(%s) -> %p", chan, (void *) c);
return c;
}
c = c->next;
}
if (debug >= 3)