summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/core/cs_clear.c3
-rw-r--r--version.log6
3 files changed, 6 insertions, 4 deletions
diff --git a/Changes b/Changes
index 06390a64f..6d868757a 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,7 @@ Anope Version S V N
Provided by Robin Burchell <w00t@inspircd.org> - 2008
09/22 F Enabled UMODE functionality for InspIRCd 1.1 [ #00]
+09/22 F Fix pointer comparison on non-ptr in CS CLEAR. [ #00]
Anope Version 1.7.22
--------------------
diff --git a/src/core/cs_clear.c b/src/core/cs_clear.c
index da30e4ceb..04f5df803 100644
--- a/src/core/cs_clear.c
+++ b/src/core/cs_clear.c
@@ -243,9 +243,6 @@ int do_clear(User * u)
snprintf(tmp2, BUFSIZE, "%s %s %s", (isop ? cu->user->nick : ""),
(isadmin ? cu->user->nick : ""), (isown ? cu->user->nick : ""));
- if (!tmp)
- continue;
-
if (ircdcap->tsmode) {
snprintf(buf, BUFSIZE - 1, "%ld", (long int) time(NULL));
av[1] = buf;
diff --git a/version.log b/version.log
index a910b7fd2..6596209aa 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="22"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1447"
+VERSION_BUILD="1448"
# $Log$
#
+# BUILD : 1.7.22 (1448)
+# BUGS :
+# NOTES : Applied patch by w00t to remove a pointer comparison on a non-ptr in cs_clear.c
+#
# BUILD : 1.7.22 (1447)
# BUGS :
# NOTES : Applied patch by w00t to enable UMODE in insp