Auth PING: Fix our information text for manual sending of "PONG"
authorAlexander Barton <alex@barton.de>
Tue, 20 Jan 2015 21:50:13 +0000 (22:50 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 20 Jan 2015 21:50:13 +0000 (22:50 +0100)
Up to now, ngIRCd doesn't send a valid IRC command at all, oops!

src/ngircd/irc-login.c

index fbb50ed..98ac0e7 100644 (file)
@@ -838,8 +838,8 @@ IRC_PONG(CLIENT *Client, REQUEST *Req)
                                Login_User(Client);
                } else
                        if (!IRC_WriteStrClient(Client,
                                Login_User(Client);
                } else
                        if (!IRC_WriteStrClient(Client,
-                                       "To connect, type /QUOTE PONG %ld",
-                                       auth_ping))
+                                       "NOTICE %s :To connect, type /QUOTE PONG %ld",
+                                       Client_ID(Client), auth_ping))
                                return DISCONNECTED;
        }
 #endif
                                return DISCONNECTED;
        }
 #endif