diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-25 11:02:44 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-25 11:02:44 +0100 |
commit | bc730a5d1a6df1c3ff5000a96eda6e153134ae04 (patch) | |
tree | 2ff1ea243f80f9ca0e80bb2c0781cdf13f8fc2fc /src/snomasks.cpp | |
parent | ef0fecc856d435ff140ce87ca38618d6edceafcc (diff) |
Add typedef OperList to UserManager for use with all_opers
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r-- | src/snomasks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp index e0305ea06..738d0970d 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -132,8 +132,8 @@ void Snomask::Send(char letter, const std::string& desc, const std::string& msg) std::string finalmsg = "*** "; finalmsg.append(log); /* Only opers can receive snotices, so we iterate the oper list */ - const std::list<User*>& opers = ServerInstance->Users->all_opers; - for (std::list<User*>::const_iterator i = opers.begin(); i != opers.end(); ++i) + const UserManager::OperList& opers = ServerInstance->Users->all_opers; + for (UserManager::OperList::const_iterator i = opers.begin(); i != opers.end(); ++i) { User* user = *i; // IsNoticeMaskSet() returns false for opers who aren't +s, no need to check for it seperately |