1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-01 08:36:38 +02:00

Add extra safety in register_user() against shunned users.

This commit is contained in:
Bram Matthys
2026-01-25 12:56:52 +01:00
parent 8467969878
commit a887de92ce
+4
View File
@@ -1023,6 +1023,10 @@ int _register_user(Client *client)
#endif
}
/* Don't allow shunned users in */
if (IsShunned(client))
return 0;
/* Set client->local->sockhost:
* First deal with the special 'localhost' case and
* then with generic setting based on DNS.