From 166dfe4163f0941148f5927c28dfbdb8bdb49c5e Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 9 Mar 2007 11:49:41 +0000 Subject: /who tidyup - needs QA'ing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6641 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_who.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'include') 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: - * - * + * E-mail: + * + * * * 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 = "|||||0 [ohur]"; } - CmdResult Handle(const char** parameters, int pcnt, userrec *user); + cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "|||||0 [ohur]"; } + void SendWhoLine(userrec* user, const std::string &initial, chanrec* ch, userrec* u, std::vector &whoresults); + CmdResult Handle(const char** parameters, int pcnt, userrec *user); }; #endif -- cgit v1.2.3