|
|
|
@ -46,7 +46,7 @@ $GLOBALS['clan_challenge_buffered_instances'] = array ();
|
|
|
|
|
* @param int $clanid the id of the clan to challenge
|
|
|
|
|
* @param int $validTime the amount of hours that the challenge is valid
|
|
|
|
|
*/
|
|
|
|
|
function challengeClan(array $user, $clanid, $anzahl = 5, $type = DAVY_BACK_FIGHT, $validTime = 24) {
|
|
|
|
|
function challengeClan(array $user, $clanid, $anzahl = MIN_MEMBERS, $type = DAVY_BACK_FIGHT, $validTime = 24) {
|
|
|
|
|
$clan = getClan($user['clan']);
|
|
|
|
|
$oclan = getClan($clanid);
|
|
|
|
|
|
|
|
|
|