summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordelthas <delthas@dille.cc>2023-01-03 11:25:58 +0100
committerdelthas <delthas@dille.cc>2023-01-03 11:25:58 +0100
commit5414edb01f30ad9480e211030db1bcd858e5f741 (patch)
treedbea8bf1862a438295e2f45a8f9d8c2cbc232eb1
parentOnly show one connected message per reconnection (diff)
motd: Allow running from a server buffer
-rw-r--r--commands.go5
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",