aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_websocket.cpp
diff options
context:
space:
mode:
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 6555d3ad7..d682d77df 100644
--- a/src/modules/m_websocket.cpp
+++ b/src/modules/m_websocket.cpp
@@ -427,7 +427,7 @@ class WebSocketHook final
if (is_binary || is_text)
{
- selectedproto = proto;
+ selectedproto = std::move(proto);
sendastext = is_text;
break;
}