From 993cff8f399abc6868813b259df88701ad35c6c2 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 1 Jun 2007 18:49:01 +0000 Subject: 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 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 77642ba04..63edc153e 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1624,7 +1624,7 @@ void userrec::WriteWallOps(const std::string &text) for (std::vector::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); } } -- cgit v1.2.3