mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
closes #2309
This commit is contained in:
@@ -118,4 +118,8 @@ SocketCategories.ignore = function(socket, cid, callback) {
|
||||
});
|
||||
};
|
||||
|
||||
SocketCategories.isModerator = function(socket, cid, callback) {
|
||||
user.isModerator(socket.uid, cid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketCategories;
|
||||
|
||||
Reference in New Issue
Block a user