forked from GitHub/dbot
sessionData hash for storage which should explicitly not survive beyond full restarts (as opposed to reloading modules).
This commit is contained in:
parent
1e7911e9b3
commit
94430e52a1
1
run.js
1
run.js
@ -49,6 +49,7 @@ var DBot = function(timers) {
|
|||||||
this.port = this.config.port || 6667;
|
this.port = this.config.port || 6667;
|
||||||
this.webPort = this.config.webPort || 443;
|
this.webPort = this.config.webPort || 443;
|
||||||
this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare' ];
|
this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare' ];
|
||||||
|
this.sessionData = {};
|
||||||
|
|
||||||
this.timers = timers.create();
|
this.timers = timers.create();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user