diff options
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/service/parser/UserParser.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/service/parser/UserParser.java b/src/github/daneren2005/dsub/service/parser/UserParser.java index 931bc4a5..c8b56080 100644 --- a/src/github/daneren2005/dsub/service/parser/UserParser.java +++ b/src/github/daneren2005/dsub/service/parser/UserParser.java @@ -65,9 +65,9 @@ public class UserParser extends AbstractParser { }
private void parseSetting(User user, String name) {
- Boolean value = getBoolean(name);
+ String value = get(name);
if(value != null) {
- user.addSetting(name, getBoolean(name));
+ user.addSetting(name, "true".equals(value));
}
}
}
|