mirror of
https://github.com/3proxy/3proxy.git
synced 2025-02-23 10:35:40 +08:00
set logfunc after configuration reload
This commit is contained in:
parent
e8203ac3a5
commit
461fae12e7
@ -308,8 +308,8 @@ static int h_log(int argc, unsigned char ** argv){
|
||||
}
|
||||
#ifndef NOODBC
|
||||
else if(*argv[1]=='&'){
|
||||
if(notchanged) return 0;
|
||||
conf.logfunc = logsql;
|
||||
if(notchanged) return 0;
|
||||
pthread_mutex_lock(&log_mutex);
|
||||
close_sql();
|
||||
init_sql((char *)argv[1]+1);
|
||||
|
Loading…
Reference in New Issue
Block a user