# HG changeset patch # User Mikael Berthe # Date 1256234891 -7200 # Node ID 546868650bbfd79d4febe6074924d0a71fc31586 # Parent 141ae278e769083718ae9b37543fba7f9b600f0b Avoid misleading comment when renaming a contact The previous check assumed that an entry which wasn't in the server roster was a room -- which is obviously wrong. diff -r 141ae278e769 -r 546868650bbf mcabber/src/commands.c --- a/mcabber/src/commands.c Thu Oct 22 20:00:24 2009 +0200 +++ b/mcabber/src/commands.c Thu Oct 22 20:08:11 2009 +0200 @@ -2011,7 +2011,7 @@ scr_LogPrint(LPRINT_NORMAL, "Note: this item will be added to your server roster."); // If this is a MUC room w/o bookmark, let's give a small hint... - if (!xmpp_is_bookmarked(bjid)) { + if ((type & ROSTER_TYPE_ROOM) && !xmpp_is_bookmarked(bjid)) { scr_LogPrint(LPRINT_NORMAL, "You should add a room bookmark or it will not be " "recognized as a MUC room next time you run mcabber.");