summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-09 21:00:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-09 21:00:06 +0000
commit711b65bb2a2470b1b3b8fee9bf8dd45b56361a1a (patch)
tree4a9824c22710fac6a28c5bfc5c21abe6155d5543 /include
parent1dea4f2adf438a34583f5b1e65ca90251aff94be (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_who.h7
1 files changed, 6 insertions, 1 deletions
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 = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurm]"; }
+ cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiap]"; }
void SendWhoLine(userrec* user, const std::string &initial, chanrec* ch, userrec* u, std::vector<std::string> &whoresults);
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ bool whomatch(userrec* user, const char* matchtext);
};
#endif