refactor: handle the plugins of websocket

This commit is contained in:
avwo
2016-05-07 01:03:44 +08:00
parent a7cc33e06d
commit 3b23c516cb
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -105,6 +105,9 @@ function handleWebsocket(socket, clientIp, callback) {
if (filter.rule) {
plugin = null;
}
Object.keys(filter).forEach(function(name) {
_rules[name] = null;
});
}
connect();
});