mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
relay: minor typo in error message
This commit is contained in:
parent
29065fdd04
commit
7f526267ec
@ -80,7 +80,7 @@ def normalizeNick(irc, netname, nick, separator=None, uid=''):
|
|||||||
nick = normalizeNick(irc, netname, orig_nick, separator=new_sep)
|
nick = normalizeNick(irc, netname, orig_nick, separator=new_sep)
|
||||||
finalLength = len(nick)
|
finalLength = len(nick)
|
||||||
assert finalLength <= maxnicklen, "Normalized nick %r went over max " \
|
assert finalLength <= maxnicklen, "Normalized nick %r went over max " \
|
||||||
"nick length (got: %s, allowed: %s!" % (nick, finalLength, maxnicklen)
|
"nick length (got: %s, allowed: %s!)" % (nick, finalLength, maxnicklen)
|
||||||
|
|
||||||
return nick
|
return nick
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user