Prevent empty channel from being loaded on blacklist join

This commit is contained in:
Calvin Montgomery 2014-05-21 21:11:15 -07:00
parent 4e7dcbe7ef
commit 1b3d154055
1 changed files with 1 additions and 0 deletions

View File

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