Skip to content

Commit 3308aec

Browse files
authored
Fix command event in chain plugin (CloudBotIRC#219)
1 parent 69ca2a0 commit 3308aec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def is_hook_allowed(_hook):
126126

127127

128128
def wrap_event(_hook, event, cmd, args):
129-
cmd_event = CommandEvent(base_event=event, text=args.strip(), triggered_command=cmd, hook=_hook)
129+
cmd_event = CommandEvent(base_event=event, text=args.strip(), triggered_command=cmd, hook=_hook, cmd_prefix='')
130130
return cmd_event
131131

132132

0 commit comments

Comments
 (0)