summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xline.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index eca06b06d..537b86596 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -689,12 +689,13 @@ bool ELine::Matches(User *u)
bool ZLine::Matches(User *u)
{
- return false;
+ if (match(user->GetIPString(), this->ipaddr, true))
+ return true;
+ else
+ return false;
}
bool QLine::Matches(User *u)
{
return false;
}
-
-