# | Line 67 | Line 67 | static void | |
---|---|---|
67 | m_users(struct Client *client_p, struct Client *source_p, | |
68 | int parc, char *parv[]) | |
69 | { | |
70 | + | static time_t last_used = 0; |
71 | + | |
72 | + | if (last_used + ConfigFileEntry.pace_wait_simple > CurrentTime) |
73 | + | { |
74 | + | sendto_one(source_p, form_str(RPL_LOAD2HI), me.name, source_p->name); |
75 | + | return; |
76 | + | } |
77 | + | else |
78 | + | last_used = CurrentTime; |
79 | + | |
80 | if (!ConfigFileEntry.disable_remote) | |
81 | if (hunt_server(client_p, source_p, ":%s USERS :%s", 1, | |
82 | parc, parv) != HUNTED_ISME) |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |