aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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 {