mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 05:55:48 +01:00
io.in logger
This commit is contained in:
@@ -76,7 +76,7 @@ SocketAdmin.restart = function(socket, data, callback) {
|
||||
};
|
||||
|
||||
SocketAdmin.fireEvent = function(socket, data, callback) {
|
||||
index.server.sockets.emit(data.name, data.payload || {});
|
||||
index.server.emit(data.name, data.payload || {});
|
||||
};
|
||||
|
||||
SocketAdmin.themes.getInstalled = function(socket, data, callback) {
|
||||
|
||||
Reference in New Issue
Block a user