commit 338047a95b1c0c61b62198c217432c6c8d3fa3cc
parent b9f47b0f8634c98d85c6b5f8e406b9b098b68f01
Author: Joris Vink <joris@coders.se>
Date: Wed, 5 Jun 2013 08:56:37 +0200
use kore_log() to notify when a module is reloaded
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/module.c b/src/module.c
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <syslog.h>
#include <regex.h>
#include <zlib.h>
@@ -113,7 +114,7 @@ kore_module_reload(void)
onload();
}
- kore_debug("reloaded '%s' module", mod_name);
+ kore_log(LOG_NOTICE, "reloaded '%s' module", mod_name);
}
int