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 47915008..c489cc3b 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1512,7 +1512,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)