1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 14:33:34 +02:00

Failed spelling

This commit is contained in:
Pavel Djundik
2015-10-18 22:07:52 +03:00
parent 418dfd4050
commit 24137d64e1
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,5 +16,5 @@
{ {
const COULD_NOT_CREATE_SOCKET = 1; const COULD_NOT_CREATE_SOCKET = 1;
const NOT_CONNECTED = 2; const NOT_CONNECTED = 2;
const CONNECTEON_FALED = 3; const CONNECTION_FAILED = 3;
} }
+1 -1
View File
@@ -70,7 +70,7 @@
if( $ErrNo || !$this->RconSocket ) if( $ErrNo || !$this->RconSocket )
{ {
throw new SocketException( 'Can\'t connect to RCON server: ' . $ErrStr, SocketException::CONNECTEON_FALED ); throw new SocketException( 'Can\'t connect to RCON server: ' . $ErrStr, SocketException::CONNECTION_FAILED );
} }
Stream_Set_Timeout( $this->RconSocket, $this->Socket->Timeout ); Stream_Set_Timeout( $this->RconSocket, $this->Socket->Timeout );