summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-09-07 15:25:14 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-09-07 15:27:05 +0100
commit485c9d8ad1365cbee11b8c7769425d5d5c02fc27 (patch)
treeccfebadc1a5d319040f6af8351f73a360fa6ebd7
parent9ca541ae76b6dc1838f11eaea21d6e284d5d7965 (diff)
connection: fix typo when checking whether a client can do anything
Naughty Simon. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c
index 249d167a..6e8a59ea 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -3316,7 +3316,7 @@ gabble_connection_update_capabilities (
g_hash_table_remove (self->priv->client_caps, client_name);
g_hash_table_remove (self->priv->client_data_forms, client_name);
- if ((cap_tokens == NULL || cap_tokens[0] != NULL) &&
+ if ((cap_tokens == NULL || cap_tokens[0] == NULL) &&
filters->len == 0)
{
/* no capabilities */