mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
privilege cleanup
This commit is contained in:
@@ -9,7 +9,7 @@ var async = require('async'),
|
||||
SocketCategories = {};
|
||||
|
||||
SocketCategories.getRecentReplies = function(socket, cid, callback) {
|
||||
privileges.categories.canRead(cid, socket.uid, function(err, canRead) {
|
||||
privileges.categories.can('read', cid, socket.uid, function(err, canRead) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user