Permalink
Browse files

m_cap: add 'tls' core capability

  • Loading branch information...
1 parent 3e54d7b commit 538d4d61881dde7fb59b04d6a71ae3ce49a5d0bf @kaniini kaniini committed Sep 22, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 include/client.h
  2. +1 −0 modules/m_cap.c
View
@@ -447,6 +447,7 @@ struct ListClient
#define CLICAP_ACCOUNT_NOTIFY 0x0004
#define CLICAP_EXTENDED_JOIN 0x0008
#define CLICAP_AWAY_NOTIFY 0x0010
+#define CLICAP_TLS 0x0020
/*
* flags macros.
View
@@ -73,6 +73,7 @@ static struct clicap
_CLICAP("account-notify", CLICAP_ACCOUNT_NOTIFY, 0, 0),
_CLICAP("extended-join", CLICAP_EXTENDED_JOIN, 0, 0),
_CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0),
+ _CLICAP("tls", CLICAP_TLS, 0, 0),
};
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))

0 comments on commit 538d4d6

Please sign in to comment.