diff --git a/config.js b/config.js
index <HASH>..<HASH> 100644
--- a/config.js
+++ b/config.js
@@ -38,5 +38,10 @@ config.get = function(name, type) {
             logger.logerror(err.name + ': ' + err.message);
         }
     }
-    return results;
+    // Pass arrays by value to prevent config being modified accidentally.
+    if (typeof results === 'object' && results.constructor.name === 'Array') {
+        return results.slice();
+    } else {
+        return results;
+    }
 };
Pass config results by value to prevent them from being overwritten