mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-25 20:22:45 +01:00
coreplugin: normalize logging punctuation for logins
This commit is contained in:
parent
e4cfd1e1e6
commit
5ff82274e4
@ -133,12 +133,12 @@ def identify(irc, source, args):
|
|||||||
realuser = irc.conf['login']['user']
|
realuser = irc.conf['login']['user']
|
||||||
irc.users[source].identified = realuser
|
irc.users[source].identified = realuser
|
||||||
irc.msg(source, 'Successfully logged in as %s.' % realuser)
|
irc.msg(source, 'Successfully logged in as %s.' % realuser)
|
||||||
log.info("(%s) Successful login to %r by %s.",
|
log.info("(%s) Successful login to %r by %s",
|
||||||
irc.name, username, utils.getHostmask(irc, source))
|
irc.name, username, utils.getHostmask(irc, source))
|
||||||
else:
|
else:
|
||||||
irc.msg(source, 'Error: Incorrect credentials.')
|
irc.msg(source, 'Error: Incorrect credentials.')
|
||||||
u = irc.users[source]
|
u = irc.users[source]
|
||||||
log.warning("(%s) Failed login to %r from %s.",
|
log.warning("(%s) Failed login to %r from %s",
|
||||||
irc.name, username, utils.getHostmask(irc, source))
|
irc.name, username, utils.getHostmask(irc, source))
|
||||||
|
|
||||||
@utils.add_cmd
|
@utils.add_cmd
|
||||||
|
Loading…
Reference in New Issue
Block a user