diff options
author | June McEnroe <june@causal.agency> | 2020-02-27 18:36:44 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-27 18:36:44 -0500 |
commit | 3f89b14700daa30f456902f22f6c22ecdd35a48a (patch) | |
tree | 705759c24e1535dfcc37f3289362a40b030f89ff /state.c | |
parent | Document the causal.agency/consumer vendor capability (diff) | |
download | pounce-3f89b14700daa30f456902f22f6c22ecdd35a48a.tar.gz pounce-3f89b14700daa30f456902f22f6c22ecdd35a48a.zip |
Advertise STS policy
Duration is set to INT_MAX since pounce will never accept cleartext connections.
Diffstat (limited to '')
-rw-r--r-- | state.c | 2 |
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")) { |