]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/snomasks.cpp
Remove current time parameter of the Timer constructor
[user/henk/code/inspircd.git] / src / snomasks.cpp
index e0305ea061330120fe1a575a5e0059b6eb93e1ea..fd6a2709a13c4d180e6432138ec2dabb80773c77 100644 (file)
@@ -21,7 +21,6 @@
 
 
 #include "inspircd.h"
-#include <stdarg.h>
 
 void SnomaskManager::FlushSnotices()
 {
@@ -132,8 +131,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