fixed fail from NurPech
[srvx.git] / src / mod-watchdog.c
index e6bb84c8c56095930f633dd647cff7b7952ef078..0edf09dfb5cec806111b9e91cf6809ab70f38d03 100644 (file)
@@ -553,7 +553,7 @@ watchdog_conf_read(void)
                watchdog_conf.alert_channel = NULL;
        }
     
-       str = database_get_data(conf_node, "oper_chan", RECDB_QSTRING);
+       str = database_get_data(conf_node, "oper_channel", RECDB_QSTRING);
        if(str)
        {
                watchdog_conf.oper_channel = AddChannel(str, now, "+tinms", NULL);