mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
_login: tweak error message: opered up => opered
This commit is contained in:
parent
79143a1e40
commit
557f1578bc
@ -27,7 +27,7 @@ def _login(irc, source, username):
|
|||||||
return
|
return
|
||||||
|
|
||||||
elif require_oper and not irc.isOper(source, allowAuthed=False):
|
elif require_oper and not irc.isOper(source, allowAuthed=False):
|
||||||
irc.error("You must be opered up to log in to %r." % username)
|
irc.error("You must be opered to log in to %r." % username)
|
||||||
log.warning("(%s) Failed login to %r from %s (needs oper)", irc.name, username, irc.getHostmask(source))
|
log.warning("(%s) Failed login to %r from %s (needs oper)", irc.name, username, irc.getHostmask(source))
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user