diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-27 18:59:49 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-10-27 18:59:49 +0000 |
commit | 1f1769a3332d003f47460478d1d6061d4802fa64 (patch) | |
tree | 53b0909005888d7f0a62f61f311955716ff05d31 /include | |
parent | e671d82d066063c5c7b02169b5617c58361bf42c (diff) |
- Added usermode +W. Users connected via a webirc gateway get this
mode set by servers.
- /WHOIS now shows whether a client is connected via a webirc
gateway
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2512 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r-- | include/client.h | 4 | ||||
-rw-r--r-- | include/numeric.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/client.h b/include/client.h index 436f6d3..a80cb43 100644 --- a/include/client.h +++ b/include/client.h @@ -163,6 +163,7 @@ #define UMODE_FARCONNECT 0x00800000 /**< Can see remote client connects/exits */ #define UMODE_HIDDENHOST 0x01000000 /**< User's host is hidden */ #define UMODE_SSL 0x02000000 /**< User is connected via TLS/SSL */ +#define UMODE_WEBIRC 0x04000000 /**< User connected via a webirc gateway */ #define UMODE_ALL UMODE_SERVNOTICE @@ -173,7 +174,8 @@ #define SEND_UMODES (UMODE_INVISIBLE | UMODE_OPER | UMODE_WALLOP |\ UMODE_REGONLY | UMODE_REGISTERED | UMODE_ADMIN |\ - UMODE_HIDDEN | UMODE_HIDDENHOST | UMODE_SSL) + UMODE_HIDDEN | UMODE_HIDDENHOST | UMODE_SSL |\ + UMODE_WEBIRC) diff --git a/include/numeric.h b/include/numeric.h index 2a9efad..abdcd5e 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -138,6 +138,7 @@ extern const char *form_str(unsigned int); #define RPL_NOTOPIC 331 #define RPL_TOPIC 332 #define RPL_TOPICWHOTIME 333 +#define RPL_WHOISTEXT 337 #define RPL_WHOISACTUALLY 338 #define RPL_INVITING 341 #define RPL_INVITELIST 346 |