aboutsummaryrefslogtreecommitdiff
path: root/cmd.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 10:32:29 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 10:32:29 +0800
commit6bbe00f0c7aae6c468b1a3e12983a74a170e92b8 (patch)
tree970b43288cdbb8c05cf5df2aaaf79e94019d13af /cmd.go
parentRemove another unnecessary anonymous function (diff)
downloadmeseircd-6bbe00f0c7aae6c468b1a3e12983a74a170e92b8.tar.gz
meseircd-6bbe00f0c7aae6c468b1a3e12983a74a170e92b8.tar.zst
meseircd-6bbe00f0c7aae6c468b1a3e12983a74a170e92b8.zip
Handle send failures
Diffstat (limited to '')
-rw-r--r--cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.go b/cmd.go
index 6cdcaa0..badd5b7 100644
--- a/cmd.go
+++ b/cmd.go
@@ -1,5 +1,5 @@
package main
-var commandHandlers = map[string](func(RMsg, *Client) bool){}
+var commandHandlers = map[string](func(RMsg, *Client) error){}
/* Maybe we should make command handlers return their values for easier labelled-reply? */