Skip to content

Commit

Permalink
Safe sendOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
JABirchall committed Aug 23, 2016
1 parent 8300f28 commit d1adc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/BadChannelName.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ private function handle()
{
$channel = $this->server->channelGetById(@$this->info['ctid']?$this->info['ctid']:$this->info['cid']);
$violator = $this->server->clientGetById($this->info['invokerid']?$this->info['invokerid']:$this->info['clid']);

try {
$channel->delete(true);
$violator->kick(TeamSpeak3::KICK_SERVER, "Channel Name Violation");
Expand Down

0 comments on commit d1adc34

Please sign in to comment.