Match comment to function

develop
Steve Allison 2013-02-21 21:25:56 +00:00
parent e0bc336890
commit 7e66141336
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class defense extends rcube_plugin {
return (((!preg_match('/^[\.\/:0-9a-f]+$/', strtolower($ip))) || (substr_count($ip, ':') < 2)) ? true : false); return (((!preg_match('/^[\.\/:0-9a-f]+$/', strtolower($ip))) || (substr_count($ip, ':') < 2)) ? true : false);
} }
/** /**
* Check string if it is IPv6 * Check string if it is IPv4
* *
* @param string * @param string
* ip address * ip address