From 08dabeda5999e2cd6c4306fe6f2efc02905289a6 Mon Sep 17 00:00:00 2001 From: calzoneman Date: Wed, 19 Jun 2013 22:27:24 -0400 Subject: [PATCH] Fix bug where channel dump doesn't save the first time --- channel.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channel.js b/channel.js index 148386ad..6d2a2813 100644 --- a/channel.js +++ b/channel.js @@ -288,6 +288,8 @@ Channel.prototype.tryRegister = function(user) { else { if(Database.registerChannel(this.name)) { this.registered = true; + this.initialized = true; + this.saveDump(); this.saveRank(user); user.socket.emit("registerChannel", { success: true,