summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-29 23:19:29 +0000
committerribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-03-29 23:19:29 +0000
commit7b4c661d80793c26378247b1f059f59aba1aedf2 (patch)
treed73ef83b01e8f9650b344d08961fa6197963c97a
parent30b5214eef71207faac602a63a1aa82763a5473b (diff)
BUILD : 1.7.8 (653) BUGS : 339 NOTES : Chanserv now sets topic when channel is recreated.
git-svn-id: svn://svn.anope.org/anope/trunk@653 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@501 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/channels.c7
-rw-r--r--version.log6
3 files changed, 9 insertions, 5 deletions
diff --git a/Changes b/Changes
index 8cace4d92..4455ee066 100644
--- a/Changes
+++ b/Changes
@@ -10,6 +10,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00]
02/05 A Support for Unreal 3.2 +I channel mode. [ #00]
02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00]
+03/30 F ChanServ now sets topic again when channel is re-created. [#339]
03/29 F Changed anoperc script to use kill numerics for compliance. [ #00]
03/28 F Moved where GlobalOnCycleUP is located so it now works. [#336]
03/28 F Fixed the change display name function to update correct db table.[#337]
diff --git a/src/channels.c b/src/channels.c
index ed2e907e6..bd7477da8 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1470,12 +1470,11 @@ Channel *chan_create(char *chan)
if (c->ci) {
check_modes(c);
stick_all(c->ci);
- c->topic_sync = 0;
- } else {
- restore_topic(chan);
- c->topic_sync = 1;
}
+ if (serv_uplink && is_sync(serv_uplink) && (!(c->topic_sync)))
+ restore_topic(chan);
+
return c;
}
diff --git a/version.log b/version.log
index 56e2c6ff0..1d5c7bd58 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="8"
-VERSION_BUILD="652"
+VERSION_BUILD="653"
# $Log$
#
+# BUILD : 1.7.8 (653)
+# BUGS : 339
+# NOTES : Chanserv now sets topic when channel is recreated.
+#
# BUILD : 1.7.8 (652)
# BUGS :
# NOTES : Changed anoperc to use numerics for compliance.