forked from mtcontrib/factions
Bug fix rankless.
Forgot to save.
This commit is contained in:
parent
3da45376c2
commit
9dd577e699
@ -419,7 +419,10 @@ function factions.Faction.has_permission(self, player, permission)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
self.rankless = true
|
if not self.rankless then
|
||||||
|
self.rankless = true
|
||||||
|
factions.save()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user