summary refs log tree commit diff stats
path: root/src/common/inbound.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-02-16 17:36:34 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-02-16 17:36:34 +0100
commit6e72d77bdd215fa585523c0138361adf67d954b9 (patch)
tree73aff7e0c58b43ba67cb2eefd9bec153f7e00a8e /src/common/inbound.c
parenta27d2e4d0bb1d0926473b95d0a2c1d58955a7edc (diff)
parent605c3dea36918a631d917269d78bf9557552608b (diff)
Merge branch 'master' into wdk
Diffstat (limited to 'src/common/inbound.c')
-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 bd7252c5..59ffaf2b 100644
--- a/src/common/inbound.c
+++ b/src/common/inbound.c
@@ -686,10 +686,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);
 	}
 }