mirror of https://github.com/calzoneman/sync.git
Prevent empty channel from being loaded on blacklist join
This commit is contained in:
parent
4e7dcbe7ef
commit
1b3d154055
|
@ -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 () {
|
||||
|
|
Loading…
Reference in New Issue