Commit 2acceecd authored by Mindiell's avatar Mindiell

Added better logging (2)

parent 6f8dd2b0
......@@ -214,7 +214,9 @@ class Wantzel(object):
self.help(user, channel, msg)
# Find known command
command = re.search("!(rp[acp]*|kill|help|stats|admin)", msg)
Utils.debug("Command: %s" % command)
if command:
Utils.debug("group(0): %s" % command.group(0))
command = command.group(1)
Utils.debug("Command: %s" % command)
if command.startswith("rp"):
......
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