mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 13:43:12 +02:00
- Add unknown_list for tracking unknown clients.
This commit is contained in:
@@ -1059,6 +1059,8 @@ int _register_user(aClient *cptr, aClient *sptr, char *nick, char *username, cha
|
||||
snprintf(descbuf, sizeof descbuf, "Client: %s", nick);
|
||||
fd_desc(sptr->fd, descbuf);
|
||||
|
||||
list_move(&sptr->lclient_node, &lclient_list);
|
||||
|
||||
IRCstats.unknown--;
|
||||
IRCstats.me_clients++;
|
||||
if (IsHidden(sptr))
|
||||
|
||||
@@ -761,6 +761,7 @@ int m_server_synch(aClient *cptr, long numeric, ConfigItem_link *aconf)
|
||||
IRCstats.me_servers++;
|
||||
IRCstats.servers++;
|
||||
IRCstats.unknown--;
|
||||
list_move(&acptr->lclient_node, &lclient_list);
|
||||
list_add(&cptr->special_node, &server_list);
|
||||
if ((Find_uline(cptr->name)))
|
||||
cptr->flags |= FLAGS_ULINE;
|
||||
|
||||
Reference in New Issue
Block a user