aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_exemptchanops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
-rw-r--r--src/modules/m_exemptchanops.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp
index 89c1688fc..c384e723f 100644
--- a/src/modules/m_exemptchanops.cpp
+++ b/src/modules/m_exemptchanops.cpp
@@ -81,8 +81,9 @@ public:
return MOD_RES_DENY;
}
- bool ValidateParam(User* user, Channel* chan, const std::string& parameter) override
+ bool ValidateParam(LocalUser* user, Channel* chan, std::string& parameter) override
{
+ // We only enforce the format restriction against local users to avoid causing a desync.
std::string restriction;
std::string prefix;
if (!ParseEntry(parameter, restriction, prefix))