# HG changeset patch # User Mikael Berthe # Date 1223118438 -7200 # Node ID 890a703197cf9ce4df46b765d9c241e89cfcbfc7 # Parent 4b4b3948420ced35bf69cfefba9266a4ecd057e6 Slightly improve last changeset Keep silent if the topic hasn't been set... diff -r 4b4b3948420c -r 890a703197cf mcabber/src/jabglue.c --- a/mcabber/src/jabglue.c Sat Oct 04 13:03:42 2008 +0200 +++ b/mcabber/src/jabglue.c Sat Oct 04 13:07:18 2008 +0200 @@ -2620,10 +2620,8 @@ // Display inside the room window if (r == s) { // No specific resource (this is certainly history) - if (subj) + if (subj && *subj) mbuf = g_strdup_printf("The topic has been set to: %s", subj); - else - mbuf = g_strdup_printf("The topic has been cleared"); } else { if (subj) mbuf = g_strdup_printf("%s has set the topic to: %s", r, subj);