We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 756f197 commit 0448f2dCopy full SHA for 0448f2d
src/zm_event.cpp
@@ -915,7 +915,7 @@ void Event::Run() {
915
// Try another
916
Warning("Failed creating event dir at %s", storage->Path());
917
918
- std::string sql = stringtf("SELECT `Id` FROM `Storage` WHERE `Id` != %u", storage->Id());
+ std::string sql = stringtf("SELECT `Id` FROM `Storage` WHERE `Id` != %u AND `Enabled`=true", storage->Id());
919
if (monitor->ServerId())
920
sql += stringtf(" AND ServerId=%u", monitor->ServerId());
921
0 commit comments