summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 4f0e7c32..9089cd0c 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1513,7 +1513,7 @@ class HandlerCore:
except:
# Most of the time what gets logged is whitespace pings. Skip.
# And also skip tab updates.
- if stanza.strip() != '':
+ if stanza.strip() == '':
return None
log.debug('', exc_info=True)