From f977a3a260f6c0853501196b15665425c2163649 Mon Sep 17 00:00:00 2001 From: James Vega Date: Sun, 29 Aug 2010 11:03:05 -0400 Subject: [PATCH] User: Require set.password be sent in private. Closes: Sf#3055365 Signed-off-by: James Vega --- plugins/User/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/User/plugin.py b/plugins/User/plugin.py index c102ea0e4..df5353e88 100644 --- a/plugins/User/plugin.py +++ b/plugins/User/plugin.py @@ -187,7 +187,8 @@ class User(callbacks.Plugin): irc.replySuccess() else: irc.error(conf.supybot.replies.incorrectAuthentication()) - password = wrap(password, ['otherUser', 'something', 'something']) + password = wrap(password, ['private', 'otherUser', 'something', + 'something']) def secure(self, irc, msg, args, user, password, value): """ []