From 7ba7290bf07b4fb4d25566ee042fd43f9e129617 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 7 Feb 2019 12:14:37 +0000 Subject: ModeParser: remove fakederef. --- src/modules/m_permchannels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_permchannels.cpp') diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 463585070..63728241d 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -87,7 +87,7 @@ static bool WriteDatabase(PermChannel& permchanmode, Module* mod, bool save_list std::string modes; std::string params; - const ModeParser::ListModeList& listmodes = ServerInstance->Modes->GetListModes(); + const ModeParser::ListModeList& listmodes = ServerInstance->Modes.GetListModes(); for (ModeParser::ListModeList::const_iterator j = listmodes.begin(); j != listmodes.end(); ++j) { ListModeBase* lm = *j; @@ -233,7 +233,7 @@ public: // XXX bleh, should we pass this to the mode parser instead? ugly. --w00t for (std::string::iterator n = modeseq.begin(); n != modeseq.end(); ++n) { - ModeHandler* mode = ServerInstance->Modes->FindMode(*n, MODETYPE_CHANNEL); + ModeHandler* mode = ServerInstance->Modes.FindMode(*n, MODETYPE_CHANNEL); if (mode) { if (mode->NeedsParam(true)) -- cgit v1.3.1-10-gc9f91