~emersion/soju

fb8c6340c8142874d3894c652b82889dd901a95b — Simon Ser 2 months ago ae3e426
Allow '/' in nickname

This allows to specify a network name in the nickname.

Closes: https://todo.sr.ht/~emersion/soju/91
1 files changed, 3 insertions(+), 1 deletions(-)

M downstream.go
M downstream.go => downstream.go +3 -1
@@ 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.