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 -3
View File
@@ -213,7 +213,7 @@ bool CZNC::HandleUserDeletion()
return true;
}
int CZNC::Loop() {
void CZNC::Loop() {
while (true) {
CString sError;
@@ -238,8 +238,6 @@ int CZNC::Loop() {
// 500 msec to 600 sec
m_Manager.DynamicSelectLoop(500 * 1000, 600 * 1000 * 1000);
}
return 0;
}
bool CZNC::WriteISpoof(CUser* pUser) {