summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-09 11:49:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-09 11:49:41 +0000
commit166dfe4163f0941148f5927c28dfbdb8bdb49c5e (patch)
tree464bba36a8c277f26b655f6eb0c2068826a78f79 /include
parent4903848416ecc4c50f520b4a0f0a02dfc8bfad89 (diff)
/who tidyup - needs QA'ing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6641 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_who.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index 299b70cdd..c4c381b55 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -3,13 +3,13 @@
* +------------------------------------+
*
* InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- * E-mail:
- * <brain@chatspike.net>
- * <Craig@chatspike.net>
+ * E-mail:
+ * <brain@chatspike.net>
+ * <Craig@chatspike.net>
*
* Written by Craig Edwards, Craig McLure, and others.
* This program is free but copyrighted software; see
- * the file COPYING for details.
+ * the file COPYING for details.
*
* ---------------------------------------------------
*/
@@ -27,9 +27,15 @@
class cmd_who : public command_t
{
bool CanView(chanrec* chan, userrec* user);
+ bool opt_viewopersonly;
+ bool opt_showrealhost;
+ bool opt_unlimit;
+ bool opt_realname;
+ bool opt_mode;
public:
- cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohur]"; }
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohur]"; }
+ 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);
};
#endif