mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-28 13:42:37 +01:00
corecommands: use irc.error() in login fail wrapper
This commit is contained in:
parent
f9adaa85ca
commit
7b5fcc3219
@ -25,7 +25,7 @@ def _login(irc, source, username):
|
||||
|
||||
def _loginfail(irc, source, username):
|
||||
"""Internal function to process login failures."""
|
||||
irc.reply('Error: Incorrect credentials.')
|
||||
irc.error('Incorrect credentials.')
|
||||
log.warning("(%s) Failed login to %r from %s", irc.name, username, irc.getHostmask(source))
|
||||
|
||||
@utils.add_cmd
|
||||
|
Loading…
Reference in New Issue
Block a user