X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmod-iauth_loc.c;fp=src%2Fmod-iauth_loc.c;h=1eba722c004b6f648e743c9d6dc2b42bb2aaa6ea;hb=5bbd945af96418ab4ced2e04cd98b07d6e3c9e71;hp=78668c00bba75509a9e53520b722affe1d23f3fb;hpb=a6e170afa9f97346f5824a9b9fcfb153103b525d;p=srvx.git diff --git a/src/mod-iauth_loc.c b/src/mod-iauth_loc.c index 78668c0..1eba722 100644 --- a/src/mod-iauth_loc.c +++ b/src/mod-iauth_loc.c @@ -32,9 +32,9 @@ static struct { } conf; #if defined(GCC_VARMACROS) -# define loc_debug(ARGS...) do { if (conf.debug_bot && conf.debug_channel) send_channel_notice(conf.debug_channel, conf.debug_bot, ARGS); } while (0) +# define loc_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 loc_debug(...) do { if (conf.debug_bot && conf.debug_channel) send_channel_notice(conf.debug_channel, conf.debug_bot, __VA_ARGS__); } while (0) +# define loc_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