summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-25 17:35:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-25 17:35:02 +0000
commitc5de9cee03465340ee9d23fce34ee525d6da2466 (patch)
tree5d1b189d9384e58100bb7a9d8c562aea4d072863
parentbae9f69eaff3143e1f886791fa706ad5baaf8f65 (diff)
Compile fixes, was forced to move some stuff around
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9804 e03df62e-2008-0410-955e-edbf42e46eb7
-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);