Skip to content

Commit a03919e

Browse files
committed
Update Example.php
1 parent 9e0c749 commit a03919e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Example.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require __DIR__ . '/SourceQuery/SourceQuery.class.php';
33

44
$query = new SourceQuery();
5-
function info($ip, $port)
5+
function ServerInfo($ip, $port)
66
{
77
$ret = "Error loading server info for " . $ip . ":" . $port;
88
try
@@ -14,7 +14,7 @@ function info($ip, $port)
1414
return ret;
1515
}
1616

17-
echo "Insurgency: " . info("vnbinsurgtdm.game.nfoservers.com", 27015);
17+
echo "Insurgency: " . ServerInfo("fuckyouvilnowputyourfuckingipinhereyourself", 27015);
1818

1919
$Query->Disconnect( );
2020
?>

0 commit comments

Comments
 (0)