mirror of
https://github.com/anope/anope.git
synced 2026-07-03 07:33:14 +02:00
Change Timer::Tick to return bool, get rid of the repeating field.
This commit is contained in:
+2
-1
@@ -29,7 +29,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
void Tick() override
|
||||
bool Tick() override
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -39,6 +39,7 @@ public:
|
||||
{
|
||||
Log(LOG_TERMINAL) << "Unable to connect to uplink #" << (Anope::CurrentUplink + 1) << " (" << Config->Uplinks[Anope::CurrentUplink].str() << "): " << ex.GetReason();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user