diff --git a/src/socket.io/plugins.js b/src/socket.io/plugins.js index a4ee9bbe89..aad0bb2841 100644 --- a/src/socket.io/plugins.js +++ b/src/socket.io/plugins.js @@ -7,7 +7,7 @@ var SocketPlugins = {}; How? From your plugin: - var SocketPlugins = require.main.require('./src/socket.io/modules'); + var SocketPlugins = require.main.require('./src/socket.io/plugins'); SocketPlugins.myPlugin = {}; SocketPlugins.myPlugin.myMethod = function() { ... };