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
1 changed files with 2 additions and 1 deletions

View File

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