show nickname in NO_DUCK non-kick message

This commit is contained in:
jesopo 2019-06-19 10:22:46 +01:00
parent 5c2f154eb0
commit 43108b96ba

View file

@ -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)