add ChatOnly to our $Supports

This commit is contained in:
mappu 2017-02-08 19:30:53 +13:00
parent 8536cb0a5c
commit 7f8f98aa5a

View File

@ -135,7 +135,7 @@ func (this *HubConnection) processProtocolMessage(message string) {
switch commandParts[0] {
case "$Lock":
this.SayRaw("$Supports NoHello NoGetINFO UserCommand UserIP2 QuickList|" +
this.SayRaw("$Supports NoHello NoGetINFO UserCommand UserIP2 QuickList ChatOnly|" +
"$Key " + unlock([]byte(commandParts[1])) + "|")
this.sentOurHello = false