summaryrefslogtreecommitdiff
path: root/include/xline.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 09:43:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 09:43:31 +0000
commitb70de5aa7840e8b43c9c5bdbeb0146ec1d5ea1a0 (patch)
treea4fac32a9c817e03ebc874f12078adcc31c3261d /include/xline.h
parentcc905e149d29a5471bf3dd0b2eb353b3d17e77d4 (diff)
Added parameter to apply_lines to indicate what we want to apply
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/xline.h')
-rw-r--r--include/xline.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/xline.h b/include/xline.h
index 9ba1358aa..dad0ed238 100644
--- a/include/xline.h
+++ b/include/xline.h
@@ -28,6 +28,11 @@
#include "users.h"
#include "channels.h"
+const int APPLY_GLINES = 1;
+const int APPLY_KLINES = 2;
+const int APPLY_QLINES = 4;
+const int APPLY_ZLINES = 8;
+const int APPLY_ALL = APPLY_GLINES | APPLY_KLINES | APPLY_QLINES | APPLY_ZLINES;
/** XLine is the base class for ban lines such as G lines and K lines.
*/
@@ -139,7 +144,7 @@ char* matches_kline(const char* host);
char* matches_exception(const char* host);
void expire_lines();
-void apply_lines();
+void apply_lines(const int What);
void stats_k(userrec* user);
void stats_g(userrec* user);