aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorChris Smith <toonarmy@phpbb.com>2009-02-07 21:08:28 +0000
committerChris Smith <toonarmy@phpbb.com>2009-02-07 21:08:28 +0000
commit6c38ee10bd9ba88318d8501ecd6f6e4233612d21 (patch)
treebb9cb83e3ab5bc24205f0fa9b1a741ce45094bcf /phpBB
parent0da1f535406fb9b3d788541bb4eb8ff56b1ea259 (diff)
downloadforums-6c38ee10bd9ba88318d8501ecd6f6e4233612d21.tar
forums-6c38ee10bd9ba88318d8501ecd6f6e4233612d21.tar.gz
forums-6c38ee10bd9ba88318d8501ecd6f6e4233612d21.tar.bz2
forums-6c38ee10bd9ba88318d8501ecd6f6e4233612d21.tar.xz
forums-6c38ee10bd9ba88318d8501ecd6f6e4233612d21.zip
Small addition to r3915, add comments about RFC
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9317 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_user.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index b38f7a049e..a65ba9f6e3 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1139,6 +1139,8 @@ function user_unban($mode, $ban)
/**
* Whois facility
+*
+* @link http://tools.ietf.org/html/rfc3912 RFC3912: WHOIS Protocol Specification
*/
function user_ipwhois($ip)
{
@@ -1153,6 +1155,7 @@ function user_ipwhois($ip)
if (($fsk = @fsockopen('whois.arin.net', 43)))
{
+ // CRLF as per RFC3912
fputs($fsk, "$ip\r\n");
while (!feof($fsk))
{