Load config from config/all
This commit is contained in:
parent
68663787bb
commit
d0ef93e58c
@ -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
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user