diff options
| author | 2007-10-28 19:26:22 +0000 | |
|---|---|---|
| committer | 2007-10-28 19:26:22 +0000 | |
| commit | f428fe870d78bf90e27e0124e24f05c06e7ded58 (patch) | |
| tree | 039ddf392c627e7ac7b8faf51b2d7c90526d73fe /src/xline.cpp | |
| parent | Add a virtual Matches to XLine class, and override it appropriately for all d... (diff) | |
| download | inspircd++-f428fe870d78bf90e27e0124e24f05c06e7ded58.tar.gz inspircd++-f428fe870d78bf90e27e0124e24f05c06e7ded58.tar.bz2 inspircd++-f428fe870d78bf90e27e0124e24f05c06e7ded58.zip | |
Done my part
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8404 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/xline.cpp')
| -rw-r--r-- | src/xline.cpp | 7 |
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; } - - |
