diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-16 10:58:28 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-06-16 10:58:28 +0000 |
commit | ef672ecfcc78b21f04143c6f21c5450c972cdffc (patch) | |
tree | adce27fed3509a83aeabb97233b74f7290c3d300 /modules/m_svsmode.c | |
parent | 6ba883ff9d3934eacf35d4dc6844052d9f1301ad (diff) |
- Add usermode 'S' (client is connecte via SSL/TLS).
Allows services to keep track of what users are connected via SSL,
and allows to see ssl-status of remote clients in a /whois
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2247 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_svsmode.c')
-rw-r--r-- | modules/m_svsmode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/m_svsmode.c b/modules/m_svsmode.c index d54f664..77cfad6 100644 --- a/modules/m_svsmode.c +++ b/modules/m_svsmode.c @@ -146,6 +146,9 @@ ms_svsmode(struct Client *client_p, struct Client *source_p, break; + case 'S': /* Only servers may set +S in a burst */ + break; + default: if ((flag = user_modes[(unsigned char)*m])) { |