Mercurial > ~mikael > mcabber > hg
comparison mcabber/src/hooks.c @ 541:87165382e4ce
Fix error introduced in changeset 56f641155579
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Fri, 25 Nov 2005 23:57:43 +0100 |
parents | 56f641155579 |
children | 6f490c725999 |
comparison
equal
deleted
inserted
replaced
540:887c1bd37617 | 541:87165382e4ce |
---|---|
198 } | 198 } |
199 | 199 |
200 inline void hk_mystatuschange(time_t timestamp, enum imstatus old_status, | 200 inline void hk_mystatuschange(time_t timestamp, enum imstatus old_status, |
201 enum imstatus new_status, const char *msg) | 201 enum imstatus new_status, const char *msg) |
202 { | 202 { |
203 if (old_status == new_status) | 203 scr_LogPrint(LPRINT_LOGNORM, "Your status has been set: [%c>%c] %s", |
204 return; | |
205 | |
206 scr_LogPrint(LPRINT_LOGNORM, "Your status has changed: [%c>%c] %s", | |
207 imstatus2char[old_status], imstatus2char[new_status], | 204 imstatus2char[old_status], imstatus2char[new_status], |
208 (msg ? msg : "")); | 205 (msg ? msg : "")); |
209 //hlog_write_status(NULL, 0, status); | 206 //hlog_write_status(NULL, 0, status); |
210 } | 207 } |
211 | 208 |