summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorviper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-22 19:40:34 +0000
committerviper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2008-09-22 19:40:34 +0000
commita30f72b2a9de051f9c50ab38f3aed337840405ea (patch)
tree959fde2cb79b12268b2b8ea0e096ee3fbac0cf48
parent42b6d1f78bec78c47555b0c32c5d8ce5d8004092 (diff)
BUILD : 1.7.22 (1448) BUGS : NOTES : Applied patch by w00t to remove a pointer comparison on a non-ptr in cs_clear.c
git-svn-id: svn://svn.anope.org/anope/trunk@1448 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1162 5417fbe8-f217-4b02-8779-1006273d7864
-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