summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/u_listmode.h4
-rw-r--r--src/modules/m_banredirect.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h
index 5d1607b5c..852d5ac2b 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -174,7 +174,7 @@ class ListModeBase : public ModeHandler
channel->GetExt(infokey, el);
if (el)
{
- irc::modestacker modestack(false);
+ irc::modestacker modestack(ServerInstance, false);
std::deque<std::string> stackresult;
std::vector<std::string> mode_junk;
mode_junk.push_back(channel->name);
@@ -396,7 +396,7 @@ class ListModeBase : public ModeHandler
{
modelist* mlist;
chan->GetExt(infokey, mlist);
- irc::modestacker modestack(true);
+ irc::modestacker modestack(ServerInstance, true);
std::deque<std::string> stackresult;
if (mlist)
{
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp
index f786d48ee..6714dde1e 100644
--- a/src/modules/m_banredirect.cpp
+++ b/src/modules/m_banredirect.cpp
@@ -220,7 +220,7 @@ class ModuleBanRedirect : public Module
if(chan->GetExt("banredirects", redirects))
{
- irc::modestacker modestack(false);
+ irc::modestacker modestack(ServerInstance, false);
StringDeque stackresult;
std::vector<std::string> mode_junk;
mode_junk.push_back(chan->name);