19 lines
292 B
C++
19 lines
292 B
C++
|
#ifndef WHO_HPP
|
||
|
#define WHO_HPP
|
||
|
|
||
|
#include "../ICommand.hpp"
|
||
|
#include <string>
|
||
|
|
||
|
class Who : public ICommand
|
||
|
{
|
||
|
private:
|
||
|
Channel *targetChannel;
|
||
|
public:
|
||
|
Who();
|
||
|
~Who();
|
||
|
bool validate(const User &user, const std::string &msg);
|
||
|
int run(User &user, IRC::t_send_f &send);
|
||
|
};
|
||
|
|
||
|
#endif
|