From 00215f62f0785c8d6e13ea4ceef105a19cc9c6b4 Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 1 Mar 2018 14:21:09 +0000 Subject: [PATCH] that should learn it --- modules/kill_namespam/kill_namespam.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kill_namespam/kill_namespam.js b/modules/kill_namespam/kill_namespam.js index b863c7b..635c39b 100644 --- a/modules/kill_namespam/kill_namespam.js +++ b/modules/kill_namespam/kill_namespam.js @@ -8,7 +8,7 @@ var _ = require('underscore')._; var kill_namespam = function(dbot) { this.saveConfig = function() { // eugh - dbot.config.modules.kill_namespam = this.config; + dbot.customConfig.modules.kill_namespam = this.config; dbot.modules.admin.internalAPI.saveConfig(); }.bind(this);