cmd_whois.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef __CMD_WHOIS_H__
00015 #define __CMD_WHOIS_H__
00016
00017
00018
00019 #include "users.h"
00020 #include "channels.h"
00021
00022 const char* Spacify(char* n);
00023 DllExport void do_whois(InspIRCd* Instance, User* user, User* dest,unsigned long signon, unsigned long idle, const char* nick);
00024
00030 class CommandWhois : public Command
00031 {
00032 public:
00035 CommandWhois (InspIRCd* Instance) : Command(Instance,"WHOIS",0,1,false,2) { syntax = "<nick>{,<nick>}"; }
00042 CmdResult Handle(const std::vector<std::string>& parameters, User *user);
00043 };
00044
00045 #endif