mirror of https://github.com/Mikaela/Limnoria.git
Fixed #1049958.
This commit is contained in:
parent
6eb0066dec
commit
e960bad9d1
|
@ -305,7 +305,7 @@ def getNick(irc, msg, args, state):
|
||||||
if ircutils.isNick(args[0]):
|
if ircutils.isNick(args[0]):
|
||||||
if 'nicklen' in irc.state.supported:
|
if 'nicklen' in irc.state.supported:
|
||||||
if len(args[0]) > irc.state.supported['nicklen']:
|
if len(args[0]) > irc.state.supported['nicklen']:
|
||||||
irc.errorInvalid('nick', s,
|
irc.errorInvalid('nick', args[0],
|
||||||
'That nick is too long for this server.')
|
'That nick is too long for this server.')
|
||||||
state.args.append(args.pop(0))
|
state.args.append(args.pop(0))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue