diff --git a/plugins/opercmds.py b/plugins/opercmds.py index c262fb6..6f18b63 100644 --- a/plugins/opercmds.py +++ b/plugins/opercmds.py @@ -393,7 +393,7 @@ def kill(irc, source, args): reason = "Killed (%s (%s))" % (irc.get_friendly_name(sender), reason) irc.reply("Done.") - irc.call_hooks([sender, 'OPERCMDS_KILL', {'target': targetu, 'text': reason, + irc.call_hooks([source, 'OPERCMDS_KILL', {'target': targetu, 'text': reason, 'userdata': userdata, 'parse_as': 'KILL'}]) @utils.add_cmd