diff mcabber/src/jabglue.c @ 1161:45d3b9dda43d

Fix a MUC problem with some servers Do not assume the role is set to None when somebody leaves a room.
author Mikael Berthe <mikael@lilotux.net>
date Fri, 16 Feb 2007 16:05:02 +0100
parents 1650056b96fc
children 2913310a7be6
line wrap: on
line diff
--- a/mcabber/src/jabglue.c	Thu Feb 15 23:56:20 2007 +0100
+++ b/mcabber/src/jabglue.c	Fri Feb 16 16:05:02 2007 +0100
@@ -1926,7 +1926,7 @@
   }
 
   // Check for departure/arrival
-  if (!mbnick && mbrole == role_none) {
+  if (!mbnick && ust == offline) {
     enum { leave=0, kick, ban } how = leave;
     bool we_left = FALSE;