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
This commit is contained in:
brain 2008-05-25 17:35:02 +00:00
parent bae9f69eaf
commit c5de9cee03
2 changed files with 3 additions and 3 deletions

View File

@ -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)
{

View File

@ -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);