callback: Fix AssertionError when action is given with implicit noLengthCheck

This commit is contained in:
Valentin Lorentz 2021-05-07 20:10:57 +02:00
parent e3fce56800
commit db99332079
1 changed files with 1 additions and 0 deletions

View File

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