]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nickflood.cpp
m_ssl_gnutls, m_ssl_openssl Simplify status handling in IOHook read/write handlers
[user/henk/code/inspircd.git] / src / modules / m_nickflood.cpp
index cd1bddce4c56737fd6466b8daa33bce7d4254f2c..cade0b1db751ace5a5dd7829510b0d58275094e5 100644 (file)
@@ -128,7 +128,7 @@ class ModuleNickFlood : public Module
 
        ModResult OnUserPreNick(LocalUser* user, const std::string& newnick) CXX11_OVERRIDE
        {
-               for (UCListIter i = user->chans.begin(); i != user->chans.end(); i++)
+               for (User::ChanList::iterator i = user->chans.begin(); i != user->chans.end(); i++)
                {
                        Channel* channel = (*i)->chan;
                        ModResult res;
@@ -167,7 +167,7 @@ class ModuleNickFlood : public Module
                if (isdigit(user->nick[0])) /* allow switches to UID */
                        return;
 
-               for (UCListIter i = user->chans.begin(); i != user->chans.end(); ++i)
+               for (User::ChanList::iterator i = user->chans.begin(); i != user->chans.end(); ++i)
                {
                        Channel* channel = (*i)->chan;
                        ModResult res;