diff --git a/redisclient.js b/redisclient.js index f21acb2..11bce39 100644 --- a/redisclient.js +++ b/redisclient.js @@ -3,7 +3,7 @@ const Dragonfly = global.Dragonfly; const Redis = require( "redis" ); -const SessConf = cl.load( "config.sx.modular.session" ); +const SessConf = cl.load( "config.all" ).sx.modular.session; var Client = Redis.createClient( SessConf.config.port diff --git a/session.js b/session.js index 91d76e8..885d0ec 100644 --- a/session.js +++ b/session.js @@ -8,7 +8,7 @@ const EventEmitter = require( "events" ).EventEmitter; const Client = cl.load( "botansx.modular.redisclient" ); const rand = cl.load( "botansx.utils.random" ); -const SessConf = cl.load( "config.sx.modular.session" ); +const SessConf = cl.load( "config.all" ).sx.modular.session; class SessionEventArgs {