changeset 541:87165382e4ce

Fix error introduced in changeset 56f641155579
author Mikael Berthe <mikael@lilotux.net>
date Fri, 25 Nov 2005 23:57:43 +0100
parents 887c1bd37617
children 34ee48c6f128
files mcabber/src/hooks.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mcabber/src/hooks.c	Fri Nov 25 23:48:49 2005 +0100
+++ b/mcabber/src/hooks.c	Fri Nov 25 23:57:43 2005 +0100
@@ -200,10 +200,7 @@
 inline void hk_mystatuschange(time_t timestamp, enum imstatus old_status,
                               enum imstatus new_status, const char *msg)
 {
-  if (old_status == new_status)
-    return;
-
-  scr_LogPrint(LPRINT_LOGNORM, "Your status has changed:  [%c>%c] %s",
+  scr_LogPrint(LPRINT_LOGNORM, "Your status has been set: [%c>%c] %s",
                imstatus2char[old_status], imstatus2char[new_status],
                (msg ? msg : ""));
   //hlog_write_status(NULL, 0, status);