From 98e5e53fda4c6bd255a5f945d5ef7af6432483cd Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 30 Sep 2013 08:36:32 -0400 Subject: [PATCH] Ignore "#" in SQL passwords. --- .../java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java b/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java index 111a5fecc..be8cb5e74 100644 --- a/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java +++ b/src/main/java/com/gmail/nossr50/config/AutoUpdateConfigLoader.java @@ -76,7 +76,7 @@ public abstract class AutoUpdateConfigLoader extends ConfigLoader { String line; while ((line = reader.readLine()) != null) { - if (line.contains("#")) { + if (line.contains("#") && !line.contains("User_Password:")) { temp += line + "\n"; } else if (line.contains(":")) {