示例#1
0
文件: Lamb_PG.php 项目: sinfocol/gwf3
 public static function onKick(Dog_Server $server, Dog_Channel $channel, Dog_User $user, $message)
 {
     echo "PG: {$message}\n";
     //		$server->sendPRIVMSG($channel->getName(), $user->getName().': '.$message);
     $server->getConnection()->sendRAW(sprintf("KICK %s %s :%s", $channel->getName(), $user->getName(), $message));
     $event = new self(array('lpg_uid' => $user->getID(), 'lpg_time' => time()));
     self::onBan($server, $channel, $user, $message);
 }