aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_websocket.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-08-04 18:20:14 +0100
committerGravatar Sadie Powell2022-08-04 18:20:14 +0100
commitf2db2e44cb8a514a025b26fa12287662f214ce12 (patch)
treebf405dc5a2d34ae8055f3c438211e38fe032f4bf /src/modules/m_websocket.cpp
parentExpose WebSocket error messages to clients. (diff)
Fix a pedantic C++98 warning in the websocket module.
Diffstat (limited to 'src/modules/m_websocket.cpp')
-rw-r--r--src/modules/m_websocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp
index 9c4608259..b392320da 100644
--- a/src/modules/m_websocket.cpp
+++ b/src/modules/m_websocket.cpp
@@ -124,7 +124,7 @@ class WebSocketHook : public IOHookMiddle
{
CLOSE_PROTOCOL_ERROR = 1002,
CLOSE_POLICY_VIOLATION = 1008,
- CLOSE_TOO_LARGE = 1009,
+ CLOSE_TOO_LARGE = 1009
};
enum OpCode