mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 18:33:13 +02:00
Some more moving for previous commit aa9fdd352a
This commit is contained in:
+5
-3
@@ -837,9 +837,6 @@ void welcome_user(Client *client, TKL *viruschan_tkl)
|
||||
if (client->umodes & UMODE_INVISIBLE)
|
||||
irccounts.invisible++;
|
||||
|
||||
/* set::modes-on-connect */
|
||||
client->umodes |= get_setting_for_user_number(client, SET_MODES_ON_CONNECT);
|
||||
|
||||
build_umode_string(client, 0, SEND_UMODES|UMODE_SERVNOTICE, buf);
|
||||
|
||||
sendto_serv_butone_nickcmd(client->direction, NULL, client, (*buf == '\0' ? "+" : buf));
|
||||
@@ -1088,8 +1085,13 @@ int _register_user(Client *client)
|
||||
break;
|
||||
}
|
||||
|
||||
/* User is going to be accepted -- don't reject the user anymore under this line! */
|
||||
|
||||
SetUser(client);
|
||||
|
||||
/* set::modes-on-connect - needs to be here for account-based custom set settings (PR #270) */
|
||||
client->umodes |= get_setting_for_user_number(client, SET_MODES_ON_CONNECT);
|
||||
|
||||
make_cloakedhost(client, client->user->realhost, client->user->cloakedhost, sizeof(client->user->cloakedhost));
|
||||
|
||||
/* client->user->virthost should never be empty */
|
||||
|
||||
Reference in New Issue
Block a user