Allow '/' in nickname

This allows to specify a network name in the nickname.

Closes: https://todo.sr.ht/~emersion/soju/91
This commit is contained in:
Simon Ser 2020-08-25 11:49:22 +02:00
parent ae3e4262b9
commit fb8c6340c8
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48

View File

@ -57,7 +57,9 @@ var errAuthFailed = ircError{&irc.Message{
Params: []string{"*", "Invalid username or password"},
}}
const illegalNickChars = " :/@!*?"
// ' ' and ':' break the IRC message wire format, '@' and '!' break prefixes,
// '*' and '?' break masks
const illegalNickChars = " :@!*?"
// permanentDownstreamCaps is the list of always-supported downstream
// capabilities.