blabla/Cap.hpp

23 lines
378 B
C++
Raw Normal View History

2024-08-03 21:04:44 +02:00
#ifndef CAP_HPP
#define CAP_HPP
#include "../ICommand.hpp"
#include <string>
class Cap : public ICommand
{
private:
int mode;
std::string lsCode;
User *targetUser;
Channel *targetChannel;
std::string *capabilities;
public:
Cap();
~Cap();
bool validate(const User &user, const std::string &msg);
int run(User &user, IRC::t_send_f &send);
};
#endif