Fix nickname in ERR_ERRONEOUSNICKNAME
This commit is contained in:
parent
16c68b21b5
commit
473a0f018b
@ -1086,7 +1086,7 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error {
|
||||
if strings.ContainsAny(nick, illegalNickChars) {
|
||||
return ircError{&irc.Message{
|
||||
Command: irc.ERR_ERRONEUSNICKNAME,
|
||||
Params: []string{dc.nick, nick, "contains illegal characters"},
|
||||
Params: []string{dc.nick, rawNick, "contains illegal characters"},
|
||||
}}
|
||||
}
|
||||
if nick == serviceNick {
|
||||
|
Loading…
Reference in New Issue
Block a user