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
This commit is contained in:
Chris Smith 2009-02-07 21:08:28 +00:00
parent 0da1f53540
commit 6c38ee10bd

View file

@ -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))
{