restricted kill and gline command from SpamServ
[srvx.git] / src / mod-watchdog.c
index 0edf09dfb5cec806111b9e91cf6809ab70f38d03..23b68c55ac7d43887b6b252a66c40c0f205e1070 100644 (file)
@@ -543,7 +543,7 @@ watchdog_conf_read(void)
     str = database_get_data(conf_node, "punishment_reason", RECDB_QSTRING);
        watchdog_conf.punishment_reason = (str ? str : "Your message contained a forbidden word.");
 
-       str = database_get_data(conf_node, "alert_chan", RECDB_QSTRING);
+       str = database_get_data(conf_node, "alert_channel", RECDB_QSTRING);
        if(str)
        {
                watchdog_conf.alert_channel = AddChannel(str, now, "+tinms", NULL);