Mercurial > hg
comparison mcabber/src/commands.c @ 861:e1adea19ba14
Cosmetic changes
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sun, 21 May 2006 09:49:04 +0200 |
parents | bdd526ec62bc |
children | cee8d6be04e1 |
comparison
equal
deleted
inserted
replaced
860:a8fadbd97858 | 861:e1adea19ba14 |
---|---|
650 jid = buddy_getjid(BUDDATA(current_buddy)); | 650 jid = buddy_getjid(BUDDATA(current_buddy)); |
651 if (!jid) return; | 651 if (!jid) return; |
652 | 652 |
653 if (buddy_gettype(BUDDATA(current_buddy)) & ROSTER_TYPE_ROOM) { | 653 if (buddy_gettype(BUDDATA(current_buddy)) & ROSTER_TYPE_ROOM) { |
654 // This is a chatroom | 654 // This is a chatroom |
655 // If there are resources, we haven't left | |
656 if (buddy_getinsideroom(BUDDATA(current_buddy))) { | 655 if (buddy_getinsideroom(BUDDATA(current_buddy))) { |
657 scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!"); | 656 scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!"); |
658 return; | 657 return; |
659 } | 658 } |
660 } | 659 } |