From 560492a4a4bd2182e3eaa32a5d5db7582be97963 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Tue, 13 Jul 2010 23:18:54 +0200 Subject: [PATCH] Authenticated users should be registered without the "~" mark --- src/ngircd/irc-login.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index 93ee07e8..b1b739b8 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -853,9 +853,10 @@ cb_Read_Auth_Result(int r_fd, UNUSED short events) return; } - if (result == true) + if (result == true) { + Client_SetUser(client, Client_OrigUser(client), true); (void)Hello_User_PostAuth(client); - else + } else Reject_Client(client); }