aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:14:37 +0000
committerGravatar Sadie Powell2019-02-07 12:14:37 +0000
commit7ba7290bf07b4fb4d25566ee042fd43f9e129617 (patch)
treec7a784c828a9be68f963776e5cdcdd1f088f4790 /src/modules/m_permchannels.cpp
parentLogManager: remove fakederef. (diff)
downloadinspircd++-7ba7290bf07b4fb4d25566ee042fd43f9e129617.tar.gz
inspircd++-7ba7290bf07b4fb4d25566ee042fd43f9e129617.tar.bz2
inspircd++-7ba7290bf07b4fb4d25566ee042fd43f9e129617.zip
ModeParser: remove fakederef.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp4
1 files changed, 2 insertions, 2 deletions
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))