summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-04-12 15:45:11 +0200
committerattilamolnar <attilamolnar@hush.com>2013-04-13 15:34:12 +0200
commit988d8218071b504521bd1da6c2275db877d857b9 (patch)
tree01950bad0bca756353aedd8894cd06852903b7cc /include
parentd71b6a8b273ae6efc823ffe79130e6a85b6a1534 (diff)
OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*
Diffstat (limited to 'include')
-rw-r--r--include/modules.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 783edd9b1..359195c39 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -544,7 +544,7 @@ class CoreExport Module : public classbase, public usecountbase
* @param keygiven The key given to join the channel, or an empty string if none was provided
* @return 1 To prevent the join, 0 to allow it.
*/
- virtual ModResult OnUserPreJoin(User* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven);
+ virtual ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven);
/** Called whenever a user is about to be kicked.
* Returning a value of 1 from this function stops the process immediately, causing no