mcabber/src/commands.c
changeset 652 b243d3b3ff1b
parent 650 c2d50b97ced4
child 653 d5db5be78eb0
--- a/mcabber/src/commands.c	Sat Jan 07 10:32:55 2006 +0100
+++ b/mcabber/src/commands.c	Sat Jan 07 10:56:46 2006 +0100
@@ -598,7 +598,7 @@
   if (buddy_gettype(BUDDATA(current_buddy)) & ROSTER_TYPE_ROOM) {
     // This is a chatroom
     // If there are resources, we haven't left
-    if (buddy_isresource(BUDDATA(current_buddy))) {
+    if (buddy_getinsideroom(BUDDATA(current_buddy))) {
       scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!");
       return;
     }
@@ -1541,7 +1541,7 @@
   }
 
   // Quick check: if there are resources, we haven't left
-  if (buddy_isresource(bud)) {
+  if (buddy_getinsideroom(bud)) {
     scr_LogPrint(LPRINT_NORMAL, "You haven't left this room!");
     return;
   }