diff options
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index 768208e3a..b0064e1cf 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -665,6 +665,9 @@ void XLineManager::expire_lines() void XLineManager::apply_lines(const int What) { + if (!What) + return; + if (What & APPLY_PERM_ONLY) { char reason[MAXBUF]; |