From 8c55eb43e7fd3037530a3df890926782689468ad Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 21 May 2016 23:05:39 -0700 Subject: [PATCH] relay/commands: reformat showuser output slightly --- plugins/commands.py | 2 +- plugins/relay.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/commands.py b/plugins/commands.py index 84e6bdb..afad202 100644 --- a/plugins/commands.py +++ b/plugins/commands.py @@ -41,7 +41,7 @@ def showuser(irc, source, args): f = lambda s: irc.msg(source, s) userobj = irc.users[u] - f('Information on user \x02%s\x02 (%s@%s): %s' % (userobj.nick, userobj.ident, + f('Showing information on user \x02%s\x02 (%s@%s): %s' % (userobj.nick, userobj.ident, userobj.host, userobj.realname)) sid = irc.getServer(u) diff --git a/plugins/relay.py b/plugins/relay.py index fcf6dcb..e022d8a 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -1618,6 +1618,7 @@ def showuser(irc, source, args): return u = irc.nickToUid(target) if u: + irc.msg(source, "Showing relay information on user \x02%s\x02:" % irc.users[u].nick) try: userpair = getOrigUser(irc, u) or (irc.name, u) remoteusers = relayusers[userpair].items()