Browse Source

Log whole IRC message on "bad command"

master
Kristaps Kaupe 5 years ago
parent
commit
f2362dce9a
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      jmdaemon/jmdaemon/irc.py

2
jmdaemon/jmdaemon/irc.py

@ -291,7 +291,7 @@ class txIRC_Client(irc.IRCClient, object):
if sent_to == self.wrapper.nick:
if nick not in self.built_privmsg:
if message[0] != COMMAND_PREFIX:
wlog('bad command ', message[0])
wlog('bad command ', message)
return
# new message starting

Loading…
Cancel
Save