diff options
Diffstat (limited to 'state.c')
-rw-r--r-- | state.c | 5 |
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]; |