summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/channels.c8
-rw-r--r--version.log6
3 files changed, 10 insertions, 5 deletions
diff --git a/Changes b/Changes
index 052e7fde6..5412c8642 100644
--- a/Changes
+++ b/Changes
@@ -29,6 +29,7 @@ Anope Version S V N
02/05 F Defcon mode parsing breaking when fed with modes with parameters. [#855]
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]
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 9fddb1610..97c6744e6 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1151,12 +1151,12 @@ void do_cmode(const char *source, int ac, char **av)
chan = findchan(av[0]);
if (!chan) {
- ci = cs_findchan(av[0]);
- if (!(ci && (ci->flags & CI_VERBOTEN)))
- if (debug) {
+ if (debug) {
+ ci = cs_findchan(av[0]);
+ if (!(ci && (ci->flags & CI_VERBOTEN)))
alog("debug: MODE %s for nonexistent channel %s",
merge_args(ac - 1, av + 1), av[0]);
- }
+ }
return;
}
diff --git a/version.log b/version.log
index fdaaccabb..f7fb17ff5 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="1375"
+VERSION_BUILD="1376"
# $Log$
#
+# BUILD : 1.7.21 (1376)
+# BUGS : 859
+# NOTES : Fixed a small oddity in do_cmode()
+#
# BUILD : 1.7.21 (1375)
# BUGS : 858
# NOTES : do_sjoin() called finduser(NULL)