diff --git a/modules/line_handler/message.py b/modules/line_handler/message.py index cdea31c0..c8e6e1e0 100644 --- a/modules/line_handler/message.py +++ b/modules/line_handler/message.py @@ -161,7 +161,7 @@ def tagmsg(events, event): if channel: hook.call(user=user, channel=channel, **kwargs) - elif event["server"].is_own_nickname(taget): + elif event["server"].is_own_nickname(target): hook.call(user=user, **kwargs) elif from_self: user = event["server"].get_user(target)