summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 23:04:47 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-04 23:04:47 +0000
commit880ae2dab166b4c8e72bc85a925c548f3d451a63 (patch)
treedc40b3d9e1ce366a48640fe1c24b23c398e1f85a /include
parentcd44daa962c7b22f5564a771b78fcc63458b5eb8 (diff)
Integrate K/Gline into the bancache system by making some modifications to DefaultApply method. This means any type of XLine that uses DefaultApply can hook into the bancache system and add positive hits quickly and easily with no modification, which is neat.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8538 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/xline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xline.h b/include/xline.h
index fcbd9134d..91a7e57fb 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -35,8 +35,9 @@ class CoreExport XLine : public classbase
/** Default 'apply' action. Quits the user.
* @param u User to apply the line against
* @param line The line typed, used for display purposes in the quit message
+ * @param bancache If true, the user will be added to the bancache if they match. Else not.
*/
- void DefaultApply(User* u, const std::string &line);
+ void DefaultApply(User* u, const std::string &line, bool bancache);
public: