Skip to content

Commit

Permalink
hash
Browse files Browse the repository at this point in the history
  • Loading branch information
JABirchall committed Sep 20, 2016
1 parent 3becbb7 commit 3012a3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/GlobalBan.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function isTriggered()
try {
$id = hash_pbkdf2("sha1", $client['client_unique_identifier']->toString(), '', 1, 8);
$client->poke("[b][color=red]You are global banned by Nimda ID: #{$id}");
$client->poke("[b][color=red]Visit [url=http://support.mxgaming.com/]Global Ban Support[/url].");
$client->poke("[b][color=red]Visit [url=#]Global Ban Support[/url].");
$client->ban(1, "Global Ban ID #{$id} ({$reason})");
}catch(Ts3Exception $e){
return;
Expand Down
2 changes: 1 addition & 1 deletion plugins/GlobalBanList.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function isTriggered()
if($this->CONFIG['ban'] === true && $response->uid === $this->info['client_unique_identifier']->toString()) {
try {
$client->poke("[b][color=red]You are globally banned by Nimda ID: #{$id}");
$client->poke("[b][color=red]Visit [url=http://support.mxgaming.com/]Global Ban Support[/url].");
$client->poke("[b][color=red]Visit [url=#]Global Ban Support[/url].");
$client->ban(1, "Global Ban ID #{$id} ({$response->reason})");
}catch(Ts3Exception $e){
return;
Expand Down

0 comments on commit 3012a3b

Please sign in to comment.