From 5716664de9d7adb29e1726b42e3d4f142a0fb74a Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Thu, 5 May 2016 19:57:49 +1200 Subject: [PATCH] don't send leading colon up to nmdc --HG-- branch : nmdc-ircfrontend --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 9e702bc..98b3bb3 100644 --- a/server.go +++ b/server.go @@ -260,7 +260,7 @@ func (s *Server) handleRegisteredCommand(command string, args []string) { 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 // channel name, but not really for user nicks