Now that we don't ship any modules by default, znc might be started without any modules. Unfortunately znc refuses to start without any modules, so patch out the appropriate check. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
15 lines
501 B
Diff
15 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, "");
|
|
}
|