mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Cleanup extra semi-colons
This commit is contained in:
@@ -518,5 +518,5 @@ template<> void TModInfo<CAway>(CModInfo& Info) {
|
||||
Info.SetArgsHelpText("[ -notimer | -timer N ] passw0rd . N is number of seconds, 600 by default.");
|
||||
}
|
||||
|
||||
NETWORKMODULEDEFS(CAway, "Adds auto-away with logging, useful when you use ZNC from different locations");
|
||||
NETWORKMODULEDEFS(CAway, "Adds auto-away with logging, useful when you use ZNC from different locations")
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ public:
|
||||
if (sAttempts.empty())
|
||||
m_uiAllowedFailed = 2;
|
||||
else
|
||||
m_uiAllowedFailed = sAttempts.ToUInt();;
|
||||
m_uiAllowedFailed = sAttempts.ToUInt();
|
||||
|
||||
if (sArgs.empty()) {
|
||||
timeout = 1;
|
||||
|
||||
@@ -224,7 +224,7 @@ void CThreadPool::cancelJobs(const std::set<CJob *> &jobs) {
|
||||
if ((*it)->m_eState != CJob::CANCELLED) {
|
||||
assert((*it)->m_eState == CJob::DONE);
|
||||
// Re-set state for the destructor
|
||||
(*it)->m_eState = CJob::CANCELLED;;
|
||||
(*it)->m_eState = CJob::CANCELLED;
|
||||
deleteLater.insert(*it);
|
||||
wait.erase(it++);
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user