function PostChannelMessage($Channel, $Msg)
 {
     $success = $this->connection->PutData(array('type' => 'post', 'to' => $Channel, 'message' => $Msg));
     if (!$success) {
         return false;
     } else {
         $message = array('type' => 'PRIVMSG', 'sender' => $_SESSION[IrcClientManager::$SessionName]['nick'], 'to' => $Channel, 'channel' => $Channel, 'content' => $Msg, 'received' => time());
         IrcClientManager::ProcessPrivMsg($message);
         return $message;
     }
 }