diff --git a/plugins/Seen/plugin.py b/plugins/Seen/plugin.py index 6eee89c26..55e9c15c5 100644 --- a/plugins/Seen/plugin.py +++ b/plugins/Seen/plugin.py @@ -233,6 +233,9 @@ class Seen(callbacks.Plugin): saying. is only necessary if the message isn't sent on the channel itself. may contain * as a wildcard. """ + if name and ircutils.strEqual(name, irc.nick): + irc.reply(_("You've found me!")) + return if msg.nick not in irc.state.channels[channel].users: irc.error(format('You must be in %s to use this command.', channel)) return @@ -250,6 +253,9 @@ class Seen(callbacks.Plugin): and returns the last time user was active in . is only necessary if the message isn't sent on the channel itself. """ + if name and ircutils.strEqual(name, irc.nick): + irc.reply(_("You've found me!")) + return if msg.nick not in irc.state.channels[channel].users: irc.error(format('You must be in %s to use this command.', channel)) return