repo: ngircd
action: commit
revision: 
path_from: 
revision_from: c41f18e3f90512afcf38f42695c26708a1f34772:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit c41f18e3f90512afcf38f42695c26708a1f34772
Author: Alexander Barton 
Date:   Tue Jan 20 22:50:13 2015 +0100

    Auth PING: Fix our information text for manual sending of "PONG"

    Up to now, ngIRCd doesn't send a valid IRC command at all, oops!

diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c
index fbb50edbd33617d4f70deda382f719c1ab744e08..
index ..98ac0e7f5e07ead740eed5297eb8b45802b59b8d 100644
--- a/src/ngircd/irc-login.c
+++ b/src/ngircd/irc-login.c
@@ -838,8 +838,8 @@ IRC_PONG(CLIENT *Client, REQUEST *Req)
 				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

-----END OF PAGE-----