From d7a780e60a92b9bdb9d74aaf001ae56ba58b11fd Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 13 Oct 2009 19:31:07 +0200
Subject: [PATCH] fix typo

---
 src/common/connection_handlers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index c221cfb8b3..95dec13a6f 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -2253,7 +2253,7 @@ class ConnectionHandlers(ConnectionVcard, ConnectionBytestream, ConnectionDisco,
 			# Error presences may not include sent stanza, so we don't detect it's
 			# a muc preence. So detect it by ID
 			h = hmac.new(self.secret_hmac, jid_stripped).hexdigest()[:6]
-			if id_.split('_')[-1] = h:
+			if id_.split('_')[-1] == h:
 				is_gc = True
 		status = prs.getStatus() or ''
 		show = prs.getShow()
-- 
GitLab