public static function user($user, $message) { if ($user !== false) { $server = $user->getServer(); if ($server->isLogging()) { $host = GWF_String::remove($server->getHost(), '/', '!'); $nickname = GWF_String::remove($user->getName(), '/', '!'); GWF_Log::rawLog("dog/{$host}/user/{$nickname}", $message); GWF_Log::flush(); } } }