Only disable prefixNick if action is actually True

This commit is contained in:
James Vega 2008-11-23 00:35:47 +00:00
parent 614fa22038
commit 73fb339b04

View File

@ -817,6 +817,7 @@ class NestedCommandsIrcProxy(ReplyIrcProxy):
self.prefixNick = prefixNick
if action is not None:
self.action = self.action or action
if action:
self.prefixNick = False
if notice is not None:
self.notice = self.notice or notice