Typo, 'taget' -> 'target'

This commit is contained in:
jesopo 2019-02-22 16:31:17 +00:00
parent 5cae86333b
commit 76c6cc3709

View file

@ -161,7 +161,7 @@ def tagmsg(events, event):
if channel: if channel:
hook.call(user=user, channel=channel, **kwargs) 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) hook.call(user=user, **kwargs)
elif from_self: elif from_self:
user = event["server"].get_user(target) user = event["server"].get_user(target)