* More XMPP tweaks, none of which fixed our current batch of problems
[citadel.git] / citadel / modules / xmpp / xmpp_query_namespace.c
index 6dad562b399ac1d16f642a00ff6d770ff7c8998c..42875074ee7c882766ffe7db4f80eee9ba7da640 100644 (file)
@@ -122,7 +122,7 @@ void xmpp_query_namespace(char *iq_id, char *iq_from, char *iq_to, char *query_x
         */
        if (
                (!strcasecmp(query_xmlns, "jabber:iq:roster:query"))
-               && (!strcasecmp(query_xmlns, "jabber:iq:auth:query"))
+               || (!strcasecmp(query_xmlns, "jabber:iq:auth:query"))
        ) {
                supported_namespace = 1;
        }