sessionData hash for storage which should explicitly not survive beyond full restarts (as opposed to reloading modules).

This commit is contained in:
Psychedelic Squid 2012-03-12 13:07:24 +00:00
parent 1e7911e9b3
commit 94430e52a1

1
run.js
View File

@ -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();