From 1b3d154055b09c845b5d0d7c3ad00a9c3fb0bab1 Mon Sep 17 00:00:00 2001 From: Calvin Montgomery Date: Wed, 21 May 2014 21:11:15 -0700 Subject: [PATCH] Prevent empty channel from being loaded on blacklist join --- lib/user.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/user.js b/lib/user.js index 1df5e0ff..deb0e95b 100644 --- a/lib/user.js +++ b/lib/user.js @@ -48,6 +48,7 @@ function User(socket) { data.name = data.name.toLowerCase(); if (data.name in Config.get("channel-blacklist")) { self.kick("This channel is blacklisted."); + return; } self.waitFlag(Flags.U_READY, function () {