From 6bbe00f0c7aae6c468b1a3e12983a74a170e92b8 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 10:32:29 +0800 Subject: Handle send failures --- cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd.go') 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? */ -- cgit v1.2.3