Verified Commit f72b6ed5 authored by Maxime Buquet's avatar Maxime Buquet

Actually skip whitespace ping logging (thanks Ge0rG)

Fixes what 9da6f532 intended to do.
Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 01a1d444
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment