summary refs log tree commit diff
path: root/state.c
diff options
context:
space:
mode:
Diffstat (limited to 'state.c')
-rw-r--r--state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.c b/state.c
index d667971..dc69547 100644
--- a/state.c
+++ b/state.c
@@ -80,7 +80,7 @@ static void handleCap(struct Message *msg) {
 	}
 
 	if (!strcmp(msg->params[1], "LS") || !strcmp(msg->params[1], "NEW")) {
-		caps &= ~(CapSASL | CapUnsupported);
+		caps &= ~(CapSASL | CapSTS | CapUnsupported);
 		if (caps) serverFormat("CAP REQ :%s\r\n", capList(caps, NULL));
 
 	} else if (!strcmp(msg->params[1], "ACK")) {