From 19ca935e3314d82acb6a5cd8bf14179c2c0424c1 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 29 Mar 2022 18:38:52 -0400 Subject: Send 900 as part of stateSync Sent before 001 since that is normally when you would receive it. --- state.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'state.c') diff --git a/state.c b/state.c index b1d5573..0569902 100644 --- a/state.c +++ b/state.c @@ -398,6 +398,13 @@ void stateSync(struct Client *client) { clientOrigin, self.nick, SOURCE_URL ); + if (stateAccount) { + clientFormat( + client, ":%s 900 %s %s %s :You are now logged in as %s\r\n", + clientOrigin, self.nick, stateEcho(), stateAccount, stateAccount + ); + } + clientFormat( client, ":%s 001 %s :%s\r\n", intro.origin, self.nick, intro.welcome -- cgit 1.4.1