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