mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Allow for changed method names.
This commit is contained in:
parent
4fec6def71
commit
eb4905dda2
@ -391,7 +391,7 @@ class User(callbacks.Privmsg):
|
||||
return
|
||||
if user.checkPassword(password):
|
||||
try:
|
||||
user.setAuth(msg.prefix)
|
||||
user.addAuth(msg.prefix)
|
||||
ircdb.users.setUser(id, user)
|
||||
irc.replySuccess()
|
||||
except ValueError:
|
||||
@ -414,7 +414,7 @@ class User(callbacks.Privmsg):
|
||||
except KeyError:
|
||||
irc.errorNoUser()
|
||||
return
|
||||
user.unsetAuth()
|
||||
user.clearAuth()
|
||||
ircdb.users.setUser(id, user)
|
||||
irc.replySuccess('If you remain recognized after giving this command, '
|
||||
'you\'re being recognized by hostmask, rather than '
|
||||
|
Loading…
Reference in New Issue
Block a user