diff options
| author | Alexander Barton <alex@barton.de> | 2010-07-13 23:18:54 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-07-13 23:18:54 +0200 |
| commit | 560492a4a4bd2182e3eaa32a5d5db7582be97963 (patch) | |
| tree | a73104783b297e1babb465dba9bb92793d9ed104 /src | |
| parent | 9cd3494de92eccaa201f42fc8b02fc68c752aca8 (diff) | |
| download | ngircd-560492a4a4bd2182e3eaa32a5d5db7582be97963.tar.gz ngircd-560492a4a4bd2182e3eaa32a5d5db7582be97963.zip | |
Authenticated users should be registered without the "~" mark
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/irc-login.c | 5 |
1 files 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); } |