Fixed /f kick and /f close

This commit is contained in:
shamoanjac
2016-08-29 01:41:23 +02:00
parent 4165082354
commit 85a50688b9
2 changed files with 6 additions and 2 deletions

View File

@ -476,7 +476,11 @@ function factions.Faction.on_player_invited(self, player)
end
function factions.Faction.on_toggle_join_free(self, player)
self:broadcast("This faction is now invite-free.")
if self.join_free then
self:broadcast("This faction is now invite-free.")
else
self:broadcast("This faction is no longer invite-free.")
end
end
function factions.Faction.on_new_alliance(self, faction)