summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r--src/modules/m_antibear.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index b9e439d7a..4288c6bfc 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -36,7 +36,7 @@ class ModuleAntiBear : public Module
return Version("Sends a numeric on connect which cripples a common type of trojan/spambot",VF_VENDOR);
}
- virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, User *user, bool validated, const std::string &original_line)
+ virtual ModResult OnPreCommand(std::string &command, std::vector<std::string> &parameters, LocalUser *user, bool validated, const std::string &original_line)
{
if (command == "NOTICE" && !validated && parameters.size() > 1 && bearExt.get(user))
{