mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-24 12:48:04 +03:00
fix for binary db not being created on maxsize overflow
This commit is contained in:
parent
2c5520cad0
commit
ff61158491
@ -70,6 +70,7 @@ void BinLog::WriteOp(BinLogOp op, int plug, ...)
|
|||||||
fclose(fp);
|
fclose(fp);
|
||||||
Close();
|
Close();
|
||||||
Open();
|
Open();
|
||||||
|
CacheAllPlugins();
|
||||||
fp = fopen(m_logfile.c_str(), "ab");
|
fp = fopen(m_logfile.c_str(), "ab");
|
||||||
if (!fp)
|
if (!fp)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user