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,
#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);