Fix typo in PackageInfo (LP: #563846):

* Incorporate patch from Michael Lustfield <michael@profarius.com>
This commit is contained in:
Terence Simpson
2010-04-15 19:43:41 +01:00
parent 7fe0ec2c10
commit f7ed5b4b2c

View File

@ -242,8 +242,8 @@ class PackageInfo(callbacks.Plugin):
channel = self.__getChannel(msg.args[0])
reply_chars = tuple([self.registryValue("prefixchar", channel)] + list(conf.supybot.reply.whenAddressedBy.chars.get(channel)))
my_commands = self.listCommands()
if user
if not channel and text[0] == self.registryValue("prefixchar")
if user:
if not channel and text[0] == self.registryValue("prefixchar"):
msg.args = (msg.args[0], text[1:])
return msg
if channel: