From 43108b96baa109a4c1014dde52b4b2bc7fa3e44a Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 19 Jun 2019 10:22:46 +0100 Subject: [PATCH] show nickname in NO_DUCK non-kick message --- modules/ducks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ducks.py b/modules/ducks.py index 1fa4d854..6b2f07d6 100644 --- a/modules/ducks.py +++ b/modules/ducks.py @@ -78,7 +78,7 @@ class Module(ModuleManager.BaseModule): if channel.get_setting("ducks-kick"): channel.send_kick(user.nickname, NO_DUCK) else: - stderr.write(NO_DUCK) + stderr.write("%s: %s" % (user.nickname, NO_DUCK)) @utils.hook("received.command.bef", alias_of="befriend") @utils.hook("received.command.befriend", channel_only=True)