X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmod-watchdog.c;fp=src%2Fmod-watchdog.c;h=23b68c55ac7d43887b6b252a66c40c0f205e1070;hb=a6e170afa9f97346f5824a9b9fcfb153103b525d;hp=e6bb84c8c56095930f633dd647cff7b7952ef078;hpb=a3aa0947adf47898e9012ee55e79d3d369c6da6e;p=srvx.git diff --git a/src/mod-watchdog.c b/src/mod-watchdog.c index e6bb84c..23b68c5 100644 --- a/src/mod-watchdog.c +++ b/src/mod-watchdog.c @@ -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); @@ -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);