1
0
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:
Adam
2010-08-24 21:34:08 -04:00
parent 2803190255
commit ea9b945830
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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;