X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmod-blacklist.c;fp=src%2Fmod-blacklist.c;h=61d0adf5072f973d10065af23ae4bffa273863ce;hb=5bbd945af96418ab4ced2e04cd98b07d6e3c9e71;hp=e202f739302e9de2a8c4a90fb338eb406d762520;hpb=a6e170afa9f97346f5824a9b9fcfb153103b525d;p=srvx.git diff --git a/src/mod-blacklist.c b/src/mod-blacklist.c index e202f73..61d0adf 100644 --- a/src/mod-blacklist.c +++ b/src/mod-blacklist.c @@ -53,9 +53,9 @@ static struct { } conf; #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) +# define blacklist_debug(ARGS...) do { if (conf.debug_bot && conf.debug_channel) send_channel_message(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) +# define blacklist_debug(...) do { if (conf.debug_bot && conf.debug_channel) send_channel_message(conf.debug_channel, conf.debug_bot, __VA_ARGS__); } while (0) #endif static void