summary refs log tree commit diff
path: root/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'state.c')
-rw-r--r--state.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/state.c b/state.c
index dc69547..5da5bcc 100644
--- a/state.c
+++ b/state.c
@@ -397,6 +397,11 @@ void stateSync(struct Client *client) {
 		clientFormat(client, " :are supported by this server\r\n");
 	}
 
+	clientFormat(
+		client, ":%s 422 %s :MOTD File is missing\r\n",
+		ORIGIN, self.nick
+	);
+
 	if (chans.len) assert(self.origin);
 	for (size_t i = 0; i < chans.len; ++i) {
 		const struct Channel *chan = &chans.ptr[i];
/server.c?h=2.1&id=d5e1e30271d5173abf37d0028f82dab8ca052ba1&follow=1'>Use configPath to load client cert/privJune McEnroe 2020-08-24Use configOpen in getopt_configJune McEnroe 2020-08-24Import xdg.c from catgirlJune McEnroe 2020-08-23Replace “RAND_bytes” by “getentropy”Issam E. Maghni 2020-08-16contrib/palaver: Add no message preview flagsJune McEnroe 2020-08-13contrib/palaver: Don't set channel for PMsJune McEnroe 2020-08-13Fix unintended interception of NICK after registrationJune McEnroe 2020-08-12Add Additional Components section to READMEJune McEnroe 2020-08-12Document -L / palaver optionJune McEnroe 2020-08-11contrib/palaver: Document service configurationJune McEnroe 2020-08-11contrib/palaver: Add install target and rc scriptJune McEnroe 2020-08-11contrib/palaver: Implement command and notificationsJune McEnroe