mirror of
https://github.com/znc/znc.git
synced 2026-07-05 01:11:53 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user