Change CZNC::Loop()'s return type to void

CZNC::Loop() never returns a value, the only way it can return is through
some throws (e.g. for restart or shutdown).


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1434 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2009-03-19 16:25:33 +00:00
parent 27169de501
commit e64b2549f5
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -255,7 +255,7 @@ int main(int argc, char** argv) {
int iRet = 0;
try {
iRet = pZNC->Loop();
pZNC->Loop();
} catch (CException e) {
switch (e.GetType()) {
case CException::EX_Shutdown: