mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Removed auth/unauth aliases for identify/unidentify
This commit is contained in:
parent
657526b985
commit
eabd3c8cf5
@ -1002,7 +1002,7 @@ class UserCommands(callbacks.Privmsg):
|
|||||||
return
|
return
|
||||||
irc.reply(msg, '[%s]' % ', '.join(user.capabilities))
|
irc.reply(msg, '[%s]' % ', '.join(user.capabilities))
|
||||||
|
|
||||||
def auth(self, irc, msg, args):
|
def identify(self, irc, msg, args):
|
||||||
"""<name> <password>
|
"""<name> <password>
|
||||||
|
|
||||||
Identifies the user as <name>.
|
Identifies the user as <name>.
|
||||||
@ -1023,9 +1023,7 @@ class UserCommands(callbacks.Privmsg):
|
|||||||
irc.error(msg, conf.replyIncorrectAuth)
|
irc.error(msg, conf.replyIncorrectAuth)
|
||||||
return
|
return
|
||||||
|
|
||||||
identify = auth
|
def unidentify(self, irc, msg, args):
|
||||||
|
|
||||||
def unauth(self, irc, msg, args):
|
|
||||||
"""<name> <password>
|
"""<name> <password>
|
||||||
|
|
||||||
Un-identifies the user as <name>.
|
Un-identifies the user as <name>.
|
||||||
@ -1044,8 +1042,6 @@ class UserCommands(callbacks.Privmsg):
|
|||||||
else:
|
else:
|
||||||
irc.error(msg, conf.replyIncorrectAuth)
|
irc.error(msg, conf.replyIncorrectAuth)
|
||||||
|
|
||||||
unidentify = unauth
|
|
||||||
|
|
||||||
def whoami(self, irc, msg, args):
|
def whoami(self, irc, msg, args):
|
||||||
"""takes no arguments.
|
"""takes no arguments.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user