Commit eebf7db1 authored by Mindiell's avatar Mindiell

Totally remove the 'title' from rp command

parent 1787a97f
...@@ -221,7 +221,7 @@ class Wantzel(object): ...@@ -221,7 +221,7 @@ class Wantzel(object):
Utils.debug("Command: %s" % command) Utils.debug("Command: %s" % command)
if command.startswith("rp"): if command.startswith("rp"):
Utils.debug("Calling self.rp") Utils.debug("Calling self.rp")
self.rp(command, user, channel, msg, title) self.rp(command, user, channel, msg)
elif command=="help": elif command=="help":
Utils.debug("Calling self.help") Utils.debug("Calling self.help")
self.help(user, channel, msg) self.help(user, channel, msg)
...@@ -253,7 +253,7 @@ class Wantzel(object): ...@@ -253,7 +253,7 @@ class Wantzel(object):
else: else:
self.send_message(channel, messages["help"]) self.send_message(channel, messages["help"])
def rp(self, command, user, channel, msg, title=""): def rp(self, command, user, channel, msg):
""" """
Adding the article in rp database. Adding the article in rp database.
""" """
...@@ -261,7 +261,6 @@ class Wantzel(object): ...@@ -261,7 +261,6 @@ class Wantzel(object):
Utils.debug("rp user : %s" % user) Utils.debug("rp user : %s" % user)
Utils.debug("rp channel : %s" % channel) Utils.debug("rp channel : %s" % channel)
Utils.debug("rp msg : %s" % msg) Utils.debug("rp msg : %s" % msg)
Utils.debug("rp title : %s" % title)
cite = 0 cite = 0
note = 1 note = 1
url = get_url(msg) 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