Added ipv6 support and multiple listen ports

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@641 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-02-11 10:06:45 +00:00
parent 7c52a7862e
commit ca8247058f
7 changed files with 158 additions and 69 deletions
+2 -2
View File
@@ -161,8 +161,8 @@ int main(int argc, char** argv, char** envp) {
return 1;
}
if (!pZNC->GetListenPort()) {
CUtils::PrintError("You must supply a ListenPort in your config.");
if (!pZNC->GetListeners().size()) {
CUtils::PrintError("You must supply at least one Listen port in your config.");
delete pZNC;
return 1;
}