packages/net/znc/patches/104-disable-empty-modules-check.patch
Jonas Gorski e4ab7b4fec znc: fix patches applying
git is hard. :-(

Reported-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Fixes: 4629f043e0 ("znc: update to 1.7.2")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
2019-02-06 20:09:59 +01:00

17 lines
587 B
Diff

--- a/src/main.cpp
+++ b/src/main.cpp
@@ -422,12 +422,14 @@ int main(int argc, char** argv) {
"No modules found. Perhaps you didn't install ZNC properly?");
CUtils::PrintError(
"Read https://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, "");
}