aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-05-23 01:53:34 +0100
committerGravatar Sadie Powell2021-05-23 01:58:34 +0100
commitee1325cf9ddcb47b2d2c1b79093e0fa5a38b75c7 (patch)
tree8ede088cbb9a89f2f10d194d6c094b84db61fc06 /src/modules.cpp
parentRefactor the population of exceptions in delayjoin. (diff)
Fire OnUserPreJoin regardless of whether the join is an override.
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 93725fdbb..9e5b50d3a 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -100,7 +100,7 @@ void Module::OnPostJoin(Membership*) { DetachEvent(I_OnPostJoin); }
void Module::OnUserPart(Membership*, std::string&, CUList&) { DetachEvent(I_OnUserPart); }
void Module::OnPreRehash(User*, const std::string&) { DetachEvent(I_OnPreRehash); }
void Module::OnModuleRehash(User*, const std::string&) { DetachEvent(I_OnModuleRehash); }
-ModResult Module::OnUserPreJoin(LocalUser*, Channel*, const std::string&, std::string&, const std::string&) { DetachEvent(I_OnUserPreJoin); return MOD_RES_PASSTHRU; }
+ModResult Module::OnUserPreJoin(LocalUser*, Channel*, const std::string&, std::string&, const std::string&, bool) { DetachEvent(I_OnUserPreJoin); return MOD_RES_PASSTHRU; }
void Module::OnMode(User*, User*, Channel*, const Modes::ChangeList&, ModeParser::ModeProcessFlag) { DetachEvent(I_OnMode); }
void Module::OnOper(User*, const std::string&) { DetachEvent(I_OnOper); }
void Module::OnPostOper(User*, const std::string&, const std::string &) { DetachEvent(I_OnPostOper); }