mirror of
https://github.com/anope/anope.git
synced 2026-07-01 09:16:37 +02:00
Internally ULine our server, and fixed a user count check for botserv when setting -P on channels
This commit is contained in:
@@ -269,6 +269,9 @@ bool Server::IsSynced() const
|
||||
*/
|
||||
bool Server::IsULined() const
|
||||
{
|
||||
if (this == Me)
|
||||
return true;
|
||||
|
||||
for (std::list<Anope::string>::const_iterator it = Config->Ulines.begin(), it_end = Config->Ulines.end(); it != it_end; ++it)
|
||||
if (it->equals_ci(this->GetName()))
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user