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