mirror of https://github.com/zlatinb/muwire
if not showing paths, downgrade to version 1
parent
c8ada0124d
commit
01fd58b2ff
|
@ -447,6 +447,9 @@ class ConnectionAcceptor {
|
|||
headers.containsKey('Path') &&
|
||||
Boolean.parseBoolean(headers['Path'])
|
||||
|
||||
if (!showPaths)
|
||||
version = 1
|
||||
|
||||
boolean chat = chatServer.isRunning() && settings.advertiseChat
|
||||
os.write("Chat: ${chat}\r\n".getBytes(StandardCharsets.US_ASCII))
|
||||
|
||||
|
|
Loading…
Reference in New Issue