packages/net/znc/patches/104-disable-empty-modules-check.patch

16 lines
501 B
Diff
Raw Normal View History

--- a/src/main.cpp
+++ b/src/main.cpp
@@ -304,10 +304,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, "");
}