Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Bugfix for NullpointerException in yacyDebugMode Init

theli1219ef99f0d4
diff --git a/source/de/anomic/plasma/plasmaSwitchboard.java b/source/de/anomic/plasma/plasmaSwitchboard.java
index bb805fb6b..e8a8f9ea1 100644
--- a/source/de/anomic/plasma/plasmaSwitchboard.java
+++ b/source/de/anomic/plasma/plasmaSwitchboard.java
@@ -354,7 +354,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
*/
// initializing yacyDebugMode
- httpc.yacyDebugMode = sb.getConfig("yacyDebugMode", "false").equals("true");
+ httpc.yacyDebugMode = getConfig("yacyDebugMode", "false").equals("true");
// generate snippets cache
log.logConfig("Initializing Snippet Cache");