diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-04 04:54:14 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-12-04 04:54:14 +0000 |
commit | 94429dba9293388fcd904a7dc6d9255b410528c2 (patch) | |
tree | becaee7dfcdc84c35700600df24f9e1684e44f34 | |
parent | 8a5b74dfcc14382a13858e69f47e98e26e59a8fe (diff) |
BUILD : 1.7.6 (473) BUGS : N/A NOTES : In some cases if you set TOPICLOCK on the channel before it ever got a TOPIC, then attempted to set a TOPIC, services would try to set a maliformed TOPIC message to the ircd.
git-svn-id: svn://svn.anope.org/anope/trunk@473 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@327 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/chanserv.c | 3 | ||||
-rw-r--r-- | version.log | 7 |
3 files changed, 10 insertions, 1 deletions
@@ -13,6 +13,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004 11/19 A Added anope_cmd_ctcp() to code API, for sending CTCP messages. [ #00] 11/18 A Unable to use registered nicknames as bot nicks from now on. [ #00] 11/18 A NSAddAccessOnReg to control access list on registration. [ #00] +12/03 F CS TOPICLOCK setting a maliformed topic in some cases [ #00] 12/03 F Bahamut support +I channel modes [ #00] 12/02 F Ultimate3 botserv bots were getting wrong modes [ #00] 12/01 F ChanServ AKICK DEL (reordering) (pointed to freed memory) [ #00] diff --git a/src/chanserv.c b/src/chanserv.c index feda36356..a4edae96e 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -2729,6 +2729,9 @@ static int do_register(User * u) ci->last_topic = sstrdup(c->topic); strscpy(ci->last_topic_setter, c->topic_setter, NICKMAX); ci->last_topic_time = c->topic_time; + } else { + /* Set this to something, otherwise it will maliform the topic */ + strscpy(ci->last_topic_setter, s_ChanServ, NICKMAX); } ci->bi = NULL; ci->botflags = BSDefFlags; diff --git a/version.log b/version.log index fd47ed118..6b16eb422 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="6" -VERSION_BUILD="472" +VERSION_BUILD="473" # $Log$ # +# BUILD : 1.7.6 (473) +# BUGS : N/A +# NOTES : In some cases if you set TOPICLOCK on the channel before it ever got a TOPIC, then attempted to set a TOPIC, +# services would try to set a maliformed TOPIC message to the ircd. +# # BUILD : 1.7.6 (472) # BUGS : N/A # NOTES : 1. Bahamut +I support |