mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
@@ -165,7 +165,7 @@ Sockets.init = function(server) {
|
||||
}
|
||||
|
||||
if (Namespaces[namespace].before) {
|
||||
Namespaces[namespace].before(socket, function() {
|
||||
Namespaces[namespace].before(socket, payload.name, function() {
|
||||
callMethod(methodToCall);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user