diff options
Diffstat (limited to 'src/modules/m_websocket.cpp')
| -rw-r--r-- | src/modules/m_websocket.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_websocket.cpp b/src/modules/m_websocket.cpp index bd5058caa..264e295f7 100644 --- a/src/modules/m_websocket.cpp +++ b/src/modules/m_websocket.cpp @@ -76,7 +76,7 @@ class WebSocketHook : public IOHookMiddle bool Find(const std::string& req, const char* header, std::string::size_type headerlen, std::string::size_type maxpos) { // Skip the GET /wibble HTTP/1.1 line. - size_t startpos = req.find(newline) + sizeof(newline) - 1;; + size_t startpos = req.find(newline) + sizeof(newline) - 1; while (startpos < maxpos) { size_t endpos = req.find(newline, startpos); @@ -99,7 +99,6 @@ class WebSocketHook : public IOHookMiddle } // No header found. - ServerInstance->Logs->Log(MODNAME, LOG_DEBUG, "not found"); return false; } |
