try a fix for lp bug #980202
This commit is contained in:
parent
72bbcdc34b
commit
a321713489
|
@ -201,6 +201,7 @@ class PackageInfo(callbacks.Plugin):
|
||||||
def privmsg(self, irc, msg, user):
|
def privmsg(self, irc, msg, user):
|
||||||
channel = self.__getChannel(msg.args[0])
|
channel = self.__getChannel(msg.args[0])
|
||||||
text = self.space_re.subn(' ', msg.args[1].strip())[0]
|
text = self.space_re.subn(' ', msg.args[1].strip())[0]
|
||||||
|
my_commands = self.listCommands()
|
||||||
if text[0] == self.registryValue("prefixchar"):
|
if text[0] == self.registryValue("prefixchar"):
|
||||||
text = text[1:].strip()
|
text = text[1:].strip()
|
||||||
if user and text[0] in list(conf.supybot.reply.whenAddressedBy.chars()):
|
if user and text[0] in list(conf.supybot.reply.whenAddressedBy.chars()):
|
||||||
|
|
Loading…
Reference in New Issue