changed debug notices to channel messages
[srvx.git] / src / mod-iauth_loc.c
index 78668c00bba75509a9e53520b722affe1d23f3fb..1eba722c004b6f648e743c9d6dc2b42bb2aaa6ea 100644 (file)
@@ -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