added .before to socket.io/groups.js

This commit is contained in:
barisusakli
2015-09-17 19:57:47 -04:00
parent be7c2cc88a
commit c4b258c747
3 changed files with 18 additions and 73 deletions

View File

@@ -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;
}