Include webclient info in protocol_flags
This commit is contained in:
parent
5c109942d7
commit
9bb0c77a74
2 changed files with 5 additions and 0 deletions
|
|
@ -119,6 +119,10 @@ class WebSocketClient(WebSocketServerProtocol, Session):
|
|||
self.sessid = old_session.sessid
|
||||
self.sessionhandler.disconnect(old_session)
|
||||
|
||||
self.protocol_flags["CLIENTNAME"] = "Evennia Webclient (websocket)"
|
||||
self.protocol_flags["UTF-8"] = True
|
||||
self.protocol_flags["OOB"] = True
|
||||
|
||||
# watch for dead links
|
||||
self.transport.setTcpKeepAlive(1)
|
||||
# actually do the connection
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue