summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/channels.c5
-rw-r--r--version.log6
3 files changed, 10 insertions, 2 deletions
diff --git a/Changes b/Changes
index 5412c8642..4d0bbc9c7 100644
--- a/Changes
+++ b/Changes
@@ -30,6 +30,7 @@ Anope Version S V N
02/05 F do_cmode() called without passing TS. [#820]
02/07 F do_sjoin() looking for NULL-nick sometimes with TS6. [#858]
02/07 F Oddity in do_cmode(). [#859]
+02/07 F findchan() debug messages not being logical. [#857]
Provided by Jan Milants <jan_renee@msn.com> - 2008
01/16 F Server traversion with next_server() failed to list all servers. [#831]
diff --git a/src/channels.c b/src/channels.c
index 97c6744e6..19d29a727 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -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)
diff --git a/version.log b/version.log
index f7fb17ff5..5348e27bb 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1376"
+VERSION_BUILD="1377"
# $Log$
#
+# 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\!
+#
# BUILD : 1.7.21 (1376)
# BUGS : 859
# NOTES : Fixed a small oddity in do_cmode()