From 711b65bb2a2470b1b3b8fee9bf8dd45b56361a1a Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 9 May 2007 21:00:06 +0000 Subject: Add extra matches to /WHO. flags aiMp, away, ident, metadata, port number git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6926 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_who.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/commands') diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h index 4448ddcef..864dd6cb7 100644 --- a/include/commands/cmd_who.h +++ b/include/commands/cmd_who.h @@ -32,10 +32,15 @@ class cmd_who : public command_t bool opt_unlimit; bool opt_realname; bool opt_mode; + bool opt_ident; + bool opt_metadata; + bool opt_port; + bool opt_away; public: - cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "|||||0 [ohurm]"; } + cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "|||||0 [ohurmMiap]"; } void SendWhoLine(userrec* user, const std::string &initial, chanrec* ch, userrec* u, std::vector &whoresults); CmdResult Handle(const char** parameters, int pcnt, userrec *user); + bool whomatch(userrec* user, const char* matchtext); }; #endif -- cgit v1.2.3