2016-01-10 11:01:49 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class beta5_alliance_kick {
|
|
|
|
|
2024-12-31 10:42:58 +01:00
|
|
|
function __construct($lib) {
|
2016-01-10 11:01:49 +01:00
|
|
|
$this->lib = $lib;
|
|
|
|
$this->db = $this->lib->game->db;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Kick an alliance member
|
|
|
|
function run($pid) {
|
|
|
|
$this->lib->call('leave', $pid, true);
|
|
|
|
// FIXME: message
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|