Skip to content

Commit

Permalink
Merge pull request #2 from martijnengler/master
Browse files Browse the repository at this point in the history
Fix bug with ->send() return wrong response
  • Loading branch information
joshmanders committed Jul 30, 2014
2 parents fd509cf + 07ad5f5 commit 8b96ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chat.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function send($message = null)
$response = new Response($request);
if ($this->client->debug)
{
if (!$response->isOkay())
if ($response->isOkay())
{
echo $this->client->config['username'].' ['.$this->channel.']: '.$message.PHP_EOL;
return true;
Expand Down

0 comments on commit 8b96ee3

Please sign in to comment.