+ /* Rate limit this because it is sent to common channels. */
+ if (MyClient(source_p))
+ {
+ if(!IsOper(source_p) &&
+ source_p->localClient->next_away > rb_current_time())
+ {
+ sendto_one(source_p, form_str(RPL_LOAD2HI),
+ me.name, source_p->name, "AWAY");
+ return 0;
+ }
+ if(source_p->localClient->next_away < rb_current_time() -
+ ConfigFileEntry.away_interval)
+ source_p->localClient->next_away = rb_current_time();
+ else
+ source_p->localClient->next_away = rb_current_time() +
+ ConfigFileEntry.away_interval;
+ }
+