Actually skip whitespace ping logging (thanks Ge0rG)
Fixes what 9da6f5328c
intended to do.
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
01a1d4441e
commit
f72b6ed5c1
1 changed files with 1 additions and 1 deletions
|
@ -1512,7 +1512,7 @@ class HandlerCore:
|
||||||
except:
|
except:
|
||||||
# Most of the time what gets logged is whitespace pings. Skip.
|
# Most of the time what gets logged is whitespace pings. Skip.
|
||||||
# And also skip tab updates.
|
# And also skip tab updates.
|
||||||
if stanza.strip() != '':
|
if stanza.strip() == '':
|
||||||
return None
|
return None
|
||||||
log.debug('', exc_info=True)
|
log.debug('', exc_info=True)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue