summaryrefslogtreecommitdiff
path: root/src/modules/m_autoop.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-03 19:10:18 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-08 23:13:24 +0200
commitebe5b201aab71cf2ead1e068889be736314fbb73 (patch)
tree33bc1cc227073304f5e25731fa35a60cfd2712a3 /src/modules/m_autoop.cpp
parent0ce252f05ced1a0dddfc9c353d68007a3faba239 (diff)
Migrate u_listmode.h into the core, change +b to use it
Diffstat (limited to 'src/modules/m_autoop.cpp')
-rw-r--r--src/modules/m_autoop.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp
index a8f6f8d1e..93f641661 100644
--- a/src/modules/m_autoop.cpp
+++ b/src/modules/m_autoop.cpp
@@ -19,7 +19,7 @@
#include "inspircd.h"
-#include "u_listmode.h"
+#include "listmode.h"
/* $ModDesc: Provides support for the +w channel mode, autoop list */
@@ -101,13 +101,13 @@ class ModuleAutoOp : public Module
if (!IS_LOCAL(memb->user))
return;
- modelist* list = mh.extItem.get(memb->chan);
+ ListModeBase::ModeList* list = mh.GetList(memb->chan);
if (list)
{
std::string modeline("+");
std::vector<std::string> modechange;
modechange.push_back(memb->chan->name);
- for (modelist::iterator it = list->begin(); it != list->end(); it++)
+ for (ListModeBase::ModeList::iterator it = list->begin(); it != list->end(); it++)
{
std::string::size_type colon = it->mask.find(':');
if (colon == std::string::npos)