aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 14:08:00 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 14:08:00 +0800
commit9759c4f267ab1af0fe698f7f625c70d5078d2c5f (patch)
tree33d29acc51f5e610f22c796d0409919c10f9853c /main.go
parentCaps should be defined in separate files (diff)
downloadmeseircd-9759c4f267ab1af0fe698f7f625c70d5078d2c5f.tar.gz
meseircd-9759c4f267ab1af0fe698f7f625c70d5078d2c5f.tar.zst
meseircd-9759c4f267ab1af0fe698f7f625c70d5078d2c5f.zip
commandHandlers -> CommandHandlers
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 {