From 988d8218071b504521bd1da6c2275db877d857b9 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Fri, 12 Apr 2013 15:45:11 +0200 Subject: OnUserPreJoin is a local-only hook, change User* parameter to LocalUser* --- src/modules/m_cban.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_cban.cpp') diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 1ecb7f9d4..35daba328 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -178,7 +178,7 @@ class ModuleCBan : public Module return MOD_RES_DENY; } - 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) { XLine *rl = ServerInstance->XLines->MatchesLine("CBAN", cname); -- cgit v1.2.3