aboutsummaryrefslogtreecommitdiff
path: root/cmd.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 08:52:23 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 08:52:23 +0800
commitd201e74fff4e6d82d639d858826bdb4190936c07 (patch)
tree7e5de8e206bf913fc0bbef5eba81b06fa9c1e06c /cmd.go
parentAdd basic command handling (diff)
downloadmeseircd-d201e74fff4e6d82d639d858826bdb4190936c07.tar.gz
meseircd-d201e74fff4e6d82d639d858826bdb4190936c07.tar.zst
meseircd-d201e74fff4e6d82d639d858826bdb4190936c07.zip
Server and self awareness
Diffstat (limited to '')
-rw-r--r--cmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.go b/cmd.go
index 6d60f4f..6cdcaa0 100644
--- a/cmd.go
+++ b/cmd.go
@@ -1,5 +1,5 @@
package main
-var commandHandlers = map[string](func(RMsg, *Client) (error)){}
+var commandHandlers = map[string](func(RMsg, *Client) bool){}
/* Maybe we should make command handlers return their values for easier labelled-reply? */