summaryrefslogtreecommitdiff
path: root/include/commands/cmd_who.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-09 21:24:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-09 21:24:57 +0000
commitd0bde383434a9a88fc2737da8f8ca92e98d4c967 (patch)
tree95d6c7d73183295990858bf2ae277e8295c7bf1a /include/commands/cmd_who.h
parentb328aad53b044bd9cf9720dfed216b0ee61c8e31 (diff)
Add WHO flag 'l', show only local users
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6928 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands/cmd_who.h')
-rw-r--r--include/commands/cmd_who.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index 864dd6cb7..bc1601358 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -36,8 +36,9 @@ class cmd_who : public command_t
bool opt_metadata;
bool opt_port;
bool opt_away;
+ bool opt_local;
public:
- cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiap]"; }
+ cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiapl]"; }
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);