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:
+1
-1
@@ -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
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user