fix an invalid use of dropChannel

This commit is contained in:
ansuz 2020-02-21 13:46:11 -05:00
parent ff73e96cb8
commit e8142d983b

View File

@ -144,7 +144,7 @@ const checkExpired = function (Env, Server, channel) {
error: 'EEXPIRED',
channel: channel
}, Env.id);
dropChannel(channel);
dropChannel(Env, channel);
});
// return true to indicate that it has expired