mirror of
https://github.com/znc/znc.git
synced 2026-05-07 13:54:47 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user