X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=blobdiff_plain;f=include%2Fs_user.h;h=970e45bc358c517326c424a21d456bf0f3ed3806;hp=bc365b59b4993d1fa5baa1c4376a4f24bd302595;hb=21592a40b5608357580412667ce0c31b8a1ebc5f;hpb=c3727b053aa20cecf3984cc0c9c23b0140edf52c diff --git a/include/s_user.h b/include/s_user.h index bc365b5..970e45b 100644 --- a/include/s_user.h +++ b/include/s_user.h @@ -80,6 +80,11 @@ extern int whisper(struct Client* source, const char* nick, extern void send_user_info(struct Client* to, char* names, int rpl, InfoFormatter fmt); +#define HIDE_HOSTMASK_FLAG_HIDDENHOST 0x01 +#define HIDE_HOSTMASK_FLAG_ACCOUNT 0x02 +#define HIDE_HOSTMASK_FLAG_FAKEHOST 0x04 +#define HIDE_HOSTMASK_FLAG_FAKEIDENT 0x08 + extern int hide_hostmask(struct Client *cptr, unsigned int flags); extern int apply_fakehost(struct Client *cptr); extern int set_user_mode(struct Client *cptr, struct Client *sptr, @@ -110,6 +115,7 @@ extern int send_supported(struct Client *cptr); #define NAMES_VIS 2 /**< List only visible users in non-secret channels */ #define NAMES_EON 4 /**< Add an 'End Of Names' reply to the end */ #define NAMES_DEL 8 /**< Show delayed joined users only */ +#define NAMES_OPS 16 /**< Show oped users only */ void do_names(struct Client* sptr, struct Channel* chptr, int filter);