1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-08 03:23:12 +02:00

Rename client->local->nextnick to client->local->next_nick_allowed

This commit is contained in:
Bram Matthys
2021-08-10 12:36:48 +02:00
parent a076e7a93a
commit 43f42edfb7
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1355,7 +1355,7 @@ struct LocalClient {
u_char targets[MAXCCUSERS]; /**< Hash values of targets for target limiting */
ConfigItem_listen *listener; /**< If this client IsListening() then this is the listener configuration attached to it */
long serial; /**< Current serial number for send.c functions (to avoid sending duplicate messages) */
time_t nextnick; /**< Time the next nick change will be allowed */
time_t next_nick_allowed; /**< Time the next nick change will be allowed */
time_t idle_since; /**< Last time a RESETIDLE message was received (PRIVMSG) */
long sendM; /**< Statistics: protocol messages send */
long sendK; /**< Statistics: total k-bytes send */
+2 -2
View File
@@ -527,8 +527,8 @@ void fix_timers(void)
/* users */
if (MyUser(client))
{
if (client->local->nextnick > TStime())
client->local->nextnick = TStime();
if (client->local->next_nick_allowed > TStime())
client->local->next_nick_allowed = TStime();
if (client->local->nexttarget > TStime())
client->local->nexttarget = TStime();
}