Revert "move userMonitorList out of server.js"

This reverts commit a7cf14c663.
This commit is contained in:
LouisLam
2021-09-08 19:54:38 +08:00
parent 0f440596c8
commit 0ddbac5109
4 changed files with 8 additions and 9 deletions

View File

@@ -1,7 +1,5 @@
/**
* Main monitor list
*/
class UserMonitorList {
list = {};
add(userID, monitor) {
@@ -48,6 +46,4 @@ class UserMonitorList {
}
module.exports = {
userMonitorList: new UserMonitorList(),
};
module.exports = UserMonitorList;