Commit f253ab24 authored by Mindiell's avatar Mindiell

Added better logging (1)

parent 431c56c3
......@@ -218,14 +218,19 @@ class Wantzel(object):
command = command.group(1)
Utils.debug("Command: %s" % command)
if command.startswith("rp"):
Utils.debug("Calling self.rp")
self.rp(command, user, channel, msg, title)
elif command=="help":
Utils.debug("Calling self.help")
self.help(user, channel, msg)
elif command=="kill":
Utils.debug("Calling self.kill")
self.kill(user, channel, msg)
elif command=="stats":
Utils.debug("Calling self.stats")
self.stats(user, channel, msg)
elif command=="admin":
Utils.debug("Calling self.admin")
self.admin(user, channel, msg)
# No more giving the title of an url
#if title and website:
......@@ -250,7 +255,11 @@ class Wantzel(object):
"""
Adding the article in rp database.
"""
Utils.debug("rp command %s" % command)
Utils.debug("rp command : %s" % command)
Utils.debug("rp user : %s" % user)
Utils.debug("rp channel : %s" % channel)
Utils.debug("rp msg : %s" % msg)
Utils.debug("rp title : %s" % title)
cite = 0
note = 0
url = get_url(msg)
......
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