mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-25 18:10:44 +01:00
Fix bug #1030367, supybot.replywithNickPrefix doesn't obey channel value
This commit is contained in:
parent
535f4a164f
commit
781ba32793
@ -526,6 +526,10 @@ class IrcObjectProxy(RichReplyMethods):
|
||||
self.notice = None
|
||||
self.private = None
|
||||
self.noLengthCheck = None
|
||||
if ircutils.isChannel(self.msg.args[0]):
|
||||
self.prefixName = conf.get(conf.supybot.reply.withNickPrefix,
|
||||
self.msg.args[0])
|
||||
else:
|
||||
self.prefixName = conf.supybot.reply.withNickPrefix()
|
||||
|
||||
def evalArgs(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user