From 9759c4f267ab1af0fe698f7f625c70d5078d2c5f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 14:08:00 +0800 Subject: commandHandlers -> CommandHandlers --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index edb629a..28b05b0 100644 --- a/main.go +++ b/main.go @@ -91,7 +91,7 @@ messageLoop: } } - handler, ok := commandHandlers[msg.Command] + handler, ok := CommandHandlers[msg.Command] if !ok { err := client.Send(MakeMsg(self, ERR_UNKNOWNCOMMAND, msg.Command, "Unknown command")) if err != nil { -- cgit v1.2.3