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