summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-02-16 17:34:40 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-02-16 17:34:40 +0100
commit605c3dea36918a631d917269d78bf9557552608b (patch)
tree6d9ba14237d78bea2355d60ac98d81bbca725a9b /src
parentbca7e6c554fe2406004c25056160950a276208f7 (diff)
update xchat to r1501
Diffstat (limited to 'src')
-rw-r--r--src/common/inbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/inbound.c b/src/common/inbound.c
index 41f5cff3..1d621583 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -683,10 +683,10 @@ inbound_topicnew (server *serv, char *nick, char *chan, char *topic)
 	sess = find_channel (serv, chan);
 	if (sess)
 	{
+		EMIT_SIGNAL (XP_TE_NEWTOPIC, sess, nick, topic, chan, NULL, 0);
 		stripped_topic = strip_color (topic, -1, STRIP_ALL);
 		set_topic (sess, topic, stripped_topic);
 		g_free (stripped_topic);
-		EMIT_SIGNAL (XP_TE_NEWTOPIC, sess, nick, topic, chan, NULL, 0);
 	}
 }