X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/7f046503b8b8dcec51c1f7752e87ba0ba0af0631..2eed640f944a24204fa4ed0dbbc80004a800b1eb:/onak-conf.c?ds=inline diff --git a/onak-conf.c b/onak-conf.c index 1ed252c..8719235 100644 --- a/onak-conf.c +++ b/onak-conf.c @@ -4,8 +4,6 @@ * Jonathan McDowell * * Copyright 2002 Project Purple - * - * $Id: onak-conf.c,v 1.8 2003/10/15 21:15:21 noodles Exp $ */ #include @@ -114,6 +112,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) ||