mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-02 16:09:24 +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.notice = None
|
||||||
self.private = None
|
self.private = None
|
||||||
self.noLengthCheck = 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()
|
self.prefixName = conf.supybot.reply.withNickPrefix()
|
||||||
|
|
||||||
def evalArgs(self):
|
def evalArgs(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user