Fix function ip() in modules

Unknown variable $server_r