We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74f0990 commit 7b9c333Copy full SHA for 7b9c333
src/PHPDiscordSDK/Events/Timer.php
@@ -81,7 +81,7 @@ public function isTimerSet(): bool
81
* Date: 8/21/2021
82
*/
83
private function networkPing() {
84
- if(!@fsockopen('www.discord.com', 80) || !@fsockopen('www.google.com', 80))
+ if(!@fsockopen('www.discord.com', 80) && !@fsockopen('www.google.com', 80))
85
{
86
Console::printMessage($this->_constants->errors->NETWORK_TIMEOUT);
87
$this->cancelTimer();
0 commit comments