unsigned long gline_duration;
} conf;
-#define blacklist_debug(format...) do { if (conf.debug_bot && conf.debug_channel) send_channel_notice(conf.debug_channel , conf.debug_bot , ## format); } while (0)
+#if defined(GCC_VARMACROS)
+# define blacklist_debug(ARGS...) do { if (conf.debug_bot && conf.debug_channel) send_channel_notice(conf.debug_channel, conf.debug_bot, ARGS); } while (0)
+#elif defined(C99_VARMACROS)
+# define blacklist_debug(...) do { if (conf.debug_bot && conf.debug_channel) send_channel_notice(conf.debug_channel, conf.debug_bot, __VA_ARGS__); } while (0)
+#endif
static void
do_expandos(char *output, unsigned int out_len, const char *input, ...)
char ip[IRC_NTOP_MAX_SIZE];
char dnsbl_target[128];
+ /* Users added during burst should not be checked. */
+ if (user->uplink->burst)
+ return 0;
+
/* Users with bogus IPs are probably service bots. */
if (!irc_in_addr_is_valid(user->ip))
return 0;