mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
Make executehooks public
This commit is contained in:
parent
4e59a3a1e2
commit
2daba66f09
@ -496,7 +496,7 @@ class MainServer extends WsServer {
|
||||
* @param {String} type The type of event, typically `in` (incoming) or `out` (outgoing)
|
||||
* @param {ws#WebSocket} socket Either target client or client (depends on `type`)
|
||||
* @param {Object} payload Either incoming data from client or outgoing data (depends on `type`)
|
||||
* @private
|
||||
* @public
|
||||
* @return {Object|Boolean}
|
||||
*/
|
||||
executeHooks(type, socket, payload) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user