mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
added .before to socket.io/groups.js
This commit is contained in:
@@ -38,7 +38,7 @@ var async = require('async'),
|
||||
logs: {}
|
||||
};
|
||||
|
||||
SocketAdmin.before = function(socket, method, next) {
|
||||
SocketAdmin.before = function(socket, method, data, next) {
|
||||
if (!socket.uid) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user