summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--state.c7
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