From f2362dce9a9a4f0ef1a584460282cf8644a6c151 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Thu, 27 May 2021 00:18:48 +0300 Subject: [PATCH] Log whole IRC message on "bad command" --- jmdaemon/jmdaemon/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jmdaemon/jmdaemon/irc.py b/jmdaemon/jmdaemon/irc.py index 22e4717..25e25e6 100644 --- a/jmdaemon/jmdaemon/irc.py +++ b/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