diff options
| author | 2013-04-12 15:45:11 +0200 | |
|---|---|---|
| committer | 2013-04-13 15:34:12 +0200 | |
| commit | 988d8218071b504521bd1da6c2275db877d857b9 (patch) | |
| tree | 01950bad0bca756353aedd8894cd06852903b7cc /src/modules.cpp | |
| parent | Remove the deprecated invite API (diff) | |
OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 7ac4d2062..e14e33811 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -97,7 +97,7 @@ void Module::OnUserPart(Membership*, std::string&, CUList&) { } void Module::OnPreRehash(User*, const std::string&) { } void Module::OnModuleRehash(User*, const std::string&) { } void Module::OnRehash(User*) { } -ModResult Module::OnUserPreJoin(User*, Channel*, const std::string&, std::string&, const std::string&) { return MOD_RES_PASSTHRU; } +ModResult Module::OnUserPreJoin(LocalUser*, Channel*, const std::string&, std::string&, const std::string&) { return MOD_RES_PASSTHRU; } void Module::OnMode(User*, void*, int, const std::vector<std::string>&, const std::vector<TranslateType>&) { } void Module::OnOper(User*, const std::string&) { } void Module::OnPostOper(User*, const std::string&, const std::string &) { } |
