diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php
index 9600534..896cd39 100644
--- a/system/libraries/Validation.php
+++ b/system/libraries/Validation.php
@@ -490,7 +490,7 @@
 	 */

 	function valid_ip($ip)

 	{

-		return ( ! preg_match( "/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/", $ip)) ? FALSE : TRUE;

+		return $this->CI->valid_ip($ip);

 	}

 

 	// --------------------------------------------------------------------