summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-03-08 20:01:55 -0400
committerJune McEnroe <june@causal.agency>2020-03-08 20:01:55 -0400
commit6d588f69ecb574eeae61dd147132b7a84f26bc62 (patch)
tree77daf88279728c729f2276f3651f8c734c4da73d
parentUse one line for each CFLAGS addition (diff)
downloadpounce-6d588f69ecb574eeae61dd147132b7a84f26bc62.tar.gz
pounce-6d588f69ecb574eeae61dd147132b7a84f26bc62.zip
Send ERR_NOMOTD during sync
Some clients (Revolution) mistakenly believe they are not connected
until a MOTD has been received. Sending this is harmless, I guess.
-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];
w=1'>Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe I never use it. 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe My system is probably such a mess now... 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe Reading has really slowed down :( 2020-09-07Add SunglassesJune McEnroe An IRC find. 2020-09-06Add Between the BreathsJune McEnroe One of those good songs from a soundtrack of a film that probably isn't? The summary sounds a lot more interesting than the title implies, at least. 2020-09-04Open /dev/tty in nudgeJune McEnroe This makes it work even when it's run connected to a pipe, i.e. as the notify command of catgirl... 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe I guess this got lost somewhere, long ago... 2020-08-29Add tweets from retweetsJune McEnroe