diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 09:43:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-14 09:43:31 +0000 |
commit | b70de5aa7840e8b43c9c5bdbeb0146ec1d5ea1a0 (patch) | |
tree | a4fac32a9c817e03ebc874f12078adcc31c3261d /include | |
parent | cc905e149d29a5471bf3dd0b2eb353b3d17e77d4 (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')
-rw-r--r-- | include/xline.h | 7 |
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); |