aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_anticaps.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_anticaps.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_anticaps.cpp')
-rw-r--r--src/modules/m_anticaps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp
index c5da88bfb..e31e5f321 100644
--- a/src/modules/m_anticaps.cpp
+++ b/src/modules/m_anticaps.cpp
@@ -167,8 +167,8 @@ class ModuleAntiCaps : public Module
banmask.append(user->GetDisplayedHost());
Modes::ChangeList changelist;
- changelist.push_add(ServerInstance->Modes->FindMode('b', MODETYPE_CHANNEL), banmask);
- ServerInstance->Modes->Process(ServerInstance->FakeClient, channel, NULL, changelist);
+ changelist.push_add(ServerInstance->Modes.FindMode('b', MODETYPE_CHANNEL), banmask);
+ ServerInstance->Modes.Process(ServerInstance->FakeClient, channel, NULL, changelist);
}
void InformUser(Channel* channel, User* user, const std::string& message)