From 6cb747744afb6d81f11be2ee4ffcd4071a65ceed Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 15 Jan 2017 14:19:55 -0800 Subject: [PATCH] User: force replies for 'hostmask list' in private instead of requiring the command to be called that way --- plugins/User/plugin.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/User/plugin.py b/plugins/User/plugin.py index ac4be2cb5..59cf742d2 100644 --- a/plugins/User/plugin.py +++ b/plugins/User/plugin.py @@ -299,14 +299,14 @@ class User(callbacks.Plugin): else: try: user = ircdb.users.getUser(name) - irc.reply(getHostmasks(user)) + irc.reply(getHostmasks(user), private=True) except KeyError: irc.errorNoUser() else: - irc.reply(getHostmasks(user)) + irc.reply(getHostmasks(user), private=True) except KeyError: irc.errorNotRegistered() - list = wrap(list, ['private', additional('something')]) + list = wrap(list, [additional('something')]) @internationalizeDocstring def add(self, irc, msg, args, user, hostmask, password):