mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
We can make one saving in userrec::WriteWallOps though - we are checking IS_LOCAL inside the loop, we've had a seprate local only user list for god knows how long, we know the users in it are local.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7199 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b117a1ec84
commit
993cff8f39
@ -1624,7 +1624,7 @@ void userrec::WriteWallOps(const std::string &text)
|
||||
for (std::vector<userrec*>::const_iterator i = ServerInstance->local_users.begin(); i != ServerInstance->local_users.end(); i++)
|
||||
{
|
||||
userrec* t = *i;
|
||||
if ((IS_LOCAL(t)) && (t->modes[UM_WALLOPS]))
|
||||
if (t->modes[UM_WALLOPS])
|
||||
this->WriteTo(t,wallop);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user