mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-26 02:20:41 +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 f977a3a260f6c0853501196b15665425c2163649) 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()
|
irc.replySuccess()
|
||||||
else:
|
else:
|
||||||
irc.error(conf.supybot.replies.incorrectAuthentication())
|
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):
|
def secure(self, irc, msg, args, user, password, value):
|
||||||
"""<password> [<True|False>]
|
"""<password> [<True|False>]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user