summaryrefslogtreecommitdiff
path: root/include/commands/cmd_who.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-15 20:59:05 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-15 20:59:05 +0000
commitb57c7f4e466f72fdd2ac3deca42caa1ea7748338 (patch)
tree3cbfe66354be62ddd22d7614e9d6116f465e807b /include/commands/cmd_who.h
parent694e307c09334c21aaf1a6c3f0b7b6d95440dd3e (diff)
In the grand tradition of huge fucking commits:
- chanrec -> Channel - userrec -> User Enjoy. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8204 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/commands/cmd_who.h')
-rw-r--r--include/commands/cmd_who.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index f89137c0a..7d1bab933 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -26,7 +26,7 @@
*/
class cmd_who : public Command
{
- bool CanView(chanrec* chan, userrec* user);
+ bool CanView(Channel* chan, User* user);
bool opt_viewopersonly;
bool opt_showrealhost;
bool opt_unlimit;
@@ -42,15 +42,15 @@ class cmd_who : public Command
/** Constructor for who.
*/
cmd_who (InspIRCd* Instance) : Command(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiaplf]"; }
- void SendWhoLine(userrec* user, const std::string &initial, chanrec* ch, userrec* u, std::vector<std::string> &whoresults);
+ void SendWhoLine(User* user, const std::string &initial, Channel* ch, User* u, std::vector<std::string> &whoresults);
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
- bool whomatch(userrec* user, const char* matchtext);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
+ bool whomatch(User* user, const char* matchtext);
};
#endif