mirror of
https://github.com/anope/anope.git
synced 2026-07-04 09:43:13 +02:00
Change Timer::Tick to return bool, get rid of the repeating field.
This commit is contained in:
@@ -92,11 +92,12 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
void Tick() override
|
||||
bool Tick() override
|
||||
{
|
||||
Channel *c = Channel::Find(chname);
|
||||
if (c)
|
||||
c->RemoveMode(NULL, "BAN", mask);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user