don't send leading colon up to nmdc

--HG--
branch : nmdc-ircfrontend
This commit is contained in:
. 2016-05-05 19:57:49 +12:00
parent bada029ce2
commit 5716664de9

View File

@ -260,7 +260,7 @@ func (s *Server) handleRegisteredCommand(command string, args []string) {
return return
} }
message := strings.Join(args[1:], " ") message := strings.Join(args[1:], " ")[1:] // strip leading colon
// IRC is case-insensitive case-preserving. We can respect that for the // IRC is case-insensitive case-preserving. We can respect that for the
// channel name, but not really for user nicks // channel name, but not really for user nicks