X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fxline.h;h=348507f37759dd4c030dc0e1bf7a3147fba8c6cd;hb=ece985ccb3210a132d67381511642edfb359f5c4;hp=74c58e05c87dd000c40fdc146fc6e362ddefc65a;hpb=f2b187052b6086d1a65ef9281f9aca9270075f06;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/xline.h b/include/xline.h index 74c58e05c..348507f37 100644 --- a/include/xline.h +++ b/include/xline.h @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * InspIRCd: (C) 2002-2008 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -17,8 +17,6 @@ #include #include #include -#include "users.h" -#include "channels.h" /** XLine is the base class for ban lines such as G lines and K lines. * Modules may derive from this, and their xlines will automatically be @@ -37,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: