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.
--- 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.");