commit 5414edb

delthas  ·  2023-01-03 10:25:58 +0000 UTC
parent e94e0f6
motd: Allow running from a server buffer
1 files changed,  +3, -2
+3, -2
 1@@ -74,8 +74,9 @@ func init() {
 2 			Handle:    commandDoMsg,
 3 		},
 4 		"MOTD": {
 5-			Desc:   "show the message of the day (MOTD)",
 6-			Handle: commandDoMOTD,
 7+			AllowHome: true,
 8+			Desc:      "show the message of the day (MOTD)",
 9+			Handle:    commandDoMOTD,
10 		},
11 		"NAMES": {
12 			Desc:   "show the member list of the current channel",