From 5414edb01f30ad9480e211030db1bcd858e5f741 Mon Sep 17 00:00:00 2001 From: delthas Date: Tue, 3 Jan 2023 11:25:58 +0100 Subject: motd: Allow running from a server buffer --- commands.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index 2371878..ca8a3f3 100644 --- a/commands.go +++ b/commands.go @@ -74,8 +74,9 @@ func init() { Handle: commandDoMsg, }, "MOTD": { - Desc: "show the message of the day (MOTD)", - Handle: commandDoMOTD, + AllowHome: true, + Desc: "show the message of the day (MOTD)", + Handle: commandDoMOTD, }, "NAMES": { Desc: "show the member list of the current channel", -- cgit v1.2.3