diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-12 15:45:11 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-13 15:34:12 +0200 |
commit | 988d8218071b504521bd1da6c2275db877d857b9 (patch) | |
tree | 01950bad0bca756353aedd8894cd06852903b7cc /src/modules/m_regonlycreate.cpp | |
parent | d71b6a8b273ae6efc823ffe79130e6a85b6a1534 (diff) |
OnUserPreJoin is a local-only hook, change User* parameter to LocalUser*
Diffstat (limited to 'src/modules/m_regonlycreate.cpp')
-rw-r--r-- | src/modules/m_regonlycreate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_regonlycreate.cpp b/src/modules/m_regonlycreate.cpp index 98250d2a7..9605ed563 100644 --- a/src/modules/m_regonlycreate.cpp +++ b/src/modules/m_regonlycreate.cpp @@ -34,7 +34,7 @@ class ModuleRegOnlyCreate : public Module ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation)); } - ModResult OnUserPreJoin(User* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) + ModResult OnUserPreJoin(LocalUser* user, Channel* chan, const std::string& cname, std::string& privs, const std::string& keygiven) { if (chan) return MOD_RES_PASSTHRU; |