unsigned long db_backup_frequency;
} global_conf;
-#define global_notice(target, format...) send_message(target , global , ## format)
+#if defined(GCC_VARMACROS)
+# define global_notice(target, ARGS...) send_message(target, global, ARGS)
+#elif defined(C99_VARMACROS)
+# define global_notice(target, ...) send_message(target, global, __VA_ARGS__)
+#endif
void message_expire(void *data);
return 1;
}
-static int
+static void
global_process_user(struct userNode *user)
{
if(IsLocal(user) || self->uplink->burst || user->uplink->burst)
- return 0;
+ return;
send_messages(user, MESSAGE_RECIPIENT_LUSERS, 1);
/* only alert on new usercount if the record was broken in the last
global_message(MESSAGE_RECIPIENT_OPERS, message);
last_max_alert = now;
}
-
- return 0;
}
static void