summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/chanserv.c3
-rw-r--r--version.log7
3 files changed, 10 insertions, 1 deletions
diff --git a/Changes b/Changes
index d072384e9..024db0883 100644
--- a/Changes
+++ b/Changes
@@ -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