summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Blatech.php2
-rw-r--r--Client.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Blatech.php b/Blatech.php
index fc414c3..305aea7 100644
--- a/Blatech.php
+++ b/Blatech.php
@@ -14,7 +14,7 @@ class Blatech
$args = static::sanitiseArgs($args);
$nick = ltrim(explode('!', $message[0])[0], ":");
$channel = $message[2];
- $msg = explode(" ", ltrim(trim($message[3], "\r\n"), ":!"));
+ $msg = explode(" ", ltrim(trim($message[3], "\r\n"), ":@"));
if (!isset($msg[0])) {
return null;
diff --git a/Client.php b/Client.php
index 27b3126..f5cb7f2 100644
--- a/Client.php
+++ b/Client.php
@@ -165,7 +165,7 @@ class Client
if ($message[0] == 'PING') {
$this->pongCommand($message[1]);
} else {
- if (strpos($message[3], ":!") === 0) {
+ if (strpos($message[3], ":@") === 0) {
$args = '';
if(($count = count($message)) > 4) {
for ($i = 4; $i < $count; $i++ ) {