mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
Only disable prefixNick if action is actually True
This commit is contained in:
parent
614fa22038
commit
73fb339b04
@ -817,6 +817,7 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
|
|||||||
self.prefixNick = prefixNick
|
self.prefixNick = prefixNick
|
||||||
if action is not None:
|
if action is not None:
|
||||||
self.action = self.action or action
|
self.action = self.action or action
|
||||||
|
if action:
|
||||||
self.prefixNick = False
|
self.prefixNick = False
|
||||||
if notice is not None:
|
if notice is not None:
|
||||||
self.notice = self.notice or notice
|
self.notice = self.notice or notice
|
||||||
|
Loading…
Reference in New Issue
Block a user