aboutsummaryrefslogtreecommitdiffstats
path: root/modules/restrictchans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/restrictchans.cpp')
-rw-r--r--modules/restrictchans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/restrictchans.cpp b/modules/restrictchans.cpp
index 346dcfc2d..7d4320317 100644
--- a/modules/restrictchans.cpp
+++ b/modules/restrictchans.cpp
@@ -78,7 +78,7 @@ public:
allowregistered = tag->getBool("allowregistered", false);
}
- ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven, bool override) override
+ ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, PrefixMode::Set& privs, const std::string& keygiven, bool override) override
{
// channel does not yet exist (record is null, about to be created IF we were to allow it)
if (!override && !chan && !CanCreateChannel(user, cname))