diff --git a/DiscordNotificationsCore.php b/DiscordNotificationsCore.php index 6b2fcd0..66eebc1 100644 --- a/DiscordNotificationsCore.php +++ b/DiscordNotificationsCore.php @@ -407,7 +407,7 @@ static function push_discord_notify($message, $user, $action) else { self::send_curl_request($wgDiscordIncomingWebhookUrl, $post); for ($i = 0; $i < count($wgDiscordAdditionalIncomingWebhookUrls); ++$i) { - self::send_http_request($wgDiscordAdditionalIncomingWebhookUrls[$i], $post); + self::send_curl_request($wgDiscordAdditionalIncomingWebhookUrls[$i], $post); } } } @@ -441,4 +441,4 @@ private function getMessage($key) { return wfMessage( $key)->text(); } } -?> \ No newline at end of file +?>