From 0e87fc69074ab51f427346461da427342a643222 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Fri, 23 Aug 2013 18:41:48 -0500 Subject: [PATCH] Fix #269 --- channel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/channel.js b/channel.js index 7f28b90b..ae29c50b 100644 --- a/channel.js +++ b/channel.js @@ -994,6 +994,7 @@ Channel.prototype.broadcastNewUser = function(user) { if(self.dbloaded && self.users.length == 1 && !self.registered) { user.rank = (user.rank < Rank.Owner) ? 10 : user.rank; user.socket.emit("channelNotRegistered"); + user.socket.emit("rank", 10); } self.server.db.listAliases(user.ip, function (err, aliases) { if(err) {