diff options
author | delthas <delthas@dille.cc> | 2023-01-03 11:25:58 +0100 |
---|---|---|
committer | delthas <delthas@dille.cc> | 2023-01-03 11:25:58 +0100 |
commit | 5414edb01f30ad9480e211030db1bcd858e5f741 (patch) | |
tree | dbea8bf1862a438295e2f45a8f9d8c2cbc232eb1 | |
parent | Only show one connected message per reconnection (diff) |
motd: Allow running from a server buffer
-rw-r--r-- | commands.go | 5 |
1 files 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", |