diff options
-rw-r--r-- | Blatech.php | 2 | ||||
-rw-r--r-- | Client.php | 2 |
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; @@ -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++ ) { |