Skip to content

Commit

Permalink
Fixed agent version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
znaeff committed Apr 11, 2016
1 parent 55a3466 commit 9d90818
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CleanTalk/Base/CleanTalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function hookAdminSettings(XenForo_Visitor &$visitor )

$ct_request = new CleantalkRequest();
$ct_request->auth_key = $_POST['options']['cleantalk']['apikey'];
$ct_request->agent = 'xenforo-15';
$ct_request->agent = 'xenforo-16';
$ct_request->response_lang = 'en';
$ct_request->js_on = 1;
$ct_request->sender_email = "good@cleantalk.org";
Expand Down
2 changes: 1 addition & 1 deletion CleanTalk/Model/CleanTalk.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ protected function _checkSpam($spam_check, $options) {

$ct_request = new CleantalkRequest();
$ct_request->auth_key = $ct_authkey;
$ct_request->agent = 'xenforo-15';
$ct_request->agent = 'xenforo-16';
$ct_request->response_lang = 'en';
$ct_request->js_on = $checkjs;
$ct_request->sender_info = $sender_info;
Expand Down

0 comments on commit 9d90818

Please sign in to comment.