mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-02 17:29:22 +01:00
User: Require set.password to be sent in private.
Closes: Sf#3055365
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
(cherry picked from commit f977a3a260
)
Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
parent
2c812cfd9e
commit
5e72daa5f4
@ -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):
|
||||
"""<password> [<True|False>]
|
||||
|
Loading…
Reference in New Issue
Block a user