summaryrefslogtreecommitdiff
path: root/src/modules/m_abbreviation.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-18 17:35:55 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-18 17:35:55 +0000
commit9ee588b23fd915255d2cea0c537e6938297dbe5b (patch)
tree4148f2f9b48a557fd7464b2b0d54887f62cd6bf3 /src/modules/m_abbreviation.cpp
parent9b213d701dd4780762c64b14b8ebb92f3c5a0975 (diff)
PreCommand/PostCommand are local-only hooks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_abbreviation.cpp')
-rw-r--r--src/modules/m_abbreviation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp
index 7234b5bfc..f0086ddcb 100644
--- a/src/modules/m_abbreviation.cpp
+++ b/src/modules/m_abbreviation.cpp
@@ -32,7 +32,7 @@ class ModuleAbbreviation : public Module
return Version("Provides the ability to abbreviate commands a-la BBC BASIC keywords.",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)
{
/* Command is already validated, has a length of 0, or last character is not a . */
if (validated || command.empty() || *command.rbegin() != '.')