First Commit
[librecmc/package-feed.git] / net / znc / patches / 104-disable-empty-modules-check.patch
1 --- a/src/main.cpp
2 +++ b/src/main.cpp
3 @@ -296,10 +296,12 @@ int main(int argc, char** argv) {
4                         CUtils::PrintStatus(false, "");
5                         CUtils::PrintError("No modules found. Perhaps you didn't install ZNC properly?");
6                         CUtils::PrintError("Read http://wiki.znc.in/Installation for instructions.");
7 +#if 0
8                         if (!CUtils::GetBoolInput("Do you really want to run ZNC without any modules?", false)) {
9                                 CZNC::DestroyInstance();
10                                 return 1;
11                         }
12 +#endif
13                 }
14                 CUtils::PrintStatus(true, "");
15         }