diff options
author | June McEnroe <june@causal.agency> | 2022-03-29 18:38:52 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2022-03-29 18:38:52 -0400 |
commit | 19ca935e3314d82acb6a5cd8bf14179c2c0424c1 (patch) | |
tree | af11b42c67ff2be2d33f0ba6f04254ef52f3fec5 | |
parent | Send real account name in fake 900 (diff) | |
download | pounce-19ca935e3314d82acb6a5cd8bf14179c2c0424c1.tar.gz pounce-19ca935e3314d82acb6a5cd8bf14179c2c0424c1.zip |
Send 900 as part of stateSync
Sent before 001 since that is normally when you would receive it.
-rw-r--r-- | state.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 |