X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/7f046503b8b8dcec51c1f7752e87ba0ba0af0631..321e011925f486709cadd1ab873e8847fc84cbca:/onak-conf.c?ds=inline diff --git a/onak-conf.c b/onak-conf.c index 1ed252c..864f6b5 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -5,7 +5,7 @@ * * Copyright 2002 Project Purple * - * $Id: onak-conf.c,v 1.8 2003/10/15 21:15:21 noodles Exp $ + * $Id: onak-conf.c,v 1.9 2004/05/27 01:34:18 noodles Exp $ */ #include @@ -114,6 +114,8 @@ void readconfig(const char *configfile) { lladd(config.syncsites, strdup(&curline[9])); } else if (!strncmp("logfile ", curline, 8)) { config.logfile = strdup(&curline[8]); + } else if (!strncmp("loglevel ", curline, 9)) { + setlogthreshold(atoi(&curline[9])); } else if (!strncmp("this_site ", curline, 10)) { config.thissite = strdup(&curline[10]); } else if (!strncmp("socket_name ", curline, 12) ||