openwrt-packages/net/znc/patches/104-disable-empty-modules-c...

16 lines
501 B
Diff

--- a/src/main.cpp
+++ b/src/main.cpp
@@ -296,10 +296,12 @@ int main(int argc, char** argv) {
CUtils::PrintStatus(false, "");
CUtils::PrintError("No modules found. Perhaps you didn't install ZNC properly?");
CUtils::PrintError("Read http://wiki.znc.in/Installation for instructions.");
+#if 0
if (!CUtils::GetBoolInput("Do you really want to run ZNC without any modules?", false)) {
CZNC::DestroyInstance();
return 1;
}
+#endif
}
CUtils::PrintStatus(true, "");
}