fixed watchdog config path (modules/watchdog)
authorpk910 <philipp@zoelle1.de>
Wed, 20 Jul 2011 22:13:10 +0000 (00:13 +0200)
committerpk910 <philipp@zoelle1.de>
Wed, 20 Jul 2011 22:13:10 +0000 (00:13 +0200)
src/mod-watchdog.c

index 91985b534c01e6d0d382ec2a5aae7f4cb139766b..975cd1b116194a8c79b64d9cc7fcd91ade66a86b 100644 (file)
@@ -294,8 +294,8 @@ watchdog_init(void)
     saxdb_register("Watchdog", watchdog_saxdb_read, watchdog_saxdb_write);
 
     const char *nick, *modes;
-    if((nick = conf_get_data("services/watchdog/nick", RECDB_QSTRING))) {
-        modes = conf_get_data("services/watchdog/modes", RECDB_QSTRING);
+    if((nick = conf_get_data("modules/watchdog/nick", RECDB_QSTRING))) {
+        modes = conf_get_data("modules/watchdog/modes", RECDB_QSTRING);
         watchdog = AddLocalUser(nick, nick, NULL, "Watchdog Service", modes);
         watchdog_service = service_register(watchdog);
         reg_allchanmsg_func(watchdog, watchdog_channel_message);