Make it so ops can build, even if they don't have the matching permission.

This commit is contained in:
KHobbits 2012-02-02 10:43:17 +00:00
parent 4326ce0d4a
commit 86a1dda46c
1 changed files with 4 additions and 0 deletions

View File

@ -544,6 +544,10 @@ public class User extends UserData implements Comparable<User>, IReplyTo, IUser
public boolean canBuild()
{
if (isOp())
{
return true;
}
return ess.getPermissionsHandler().canBuild(base, getGroup());
}