diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-08 10:32:29 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-08 10:32:29 +0800 |
commit | 6bbe00f0c7aae6c468b1a3e12983a74a170e92b8 (patch) | |
tree | 970b43288cdbb8c05cf5df2aaaf79e94019d13af /cmd.go | |
parent | Remove another unnecessary anonymous function (diff) | |
download | meseircd-6bbe00f0c7aae6c468b1a3e12983a74a170e92b8.tar.gz meseircd-6bbe00f0c7aae6c468b1a3e12983a74a170e92b8.tar.zst meseircd-6bbe00f0c7aae6c468b1a3e12983a74a170e92b8.zip |
Handle send failures
Diffstat (limited to '')
-rw-r--r-- | cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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? */ |