blabla/Nick.hpp

23 lines
439 B
C++
Raw Normal View History

2024-08-03 21:04:44 +02:00
#ifndef NICK_HPP
#define NICK_HPP
#include "../ICommand.hpp"
#include "../IRC.hpp"
#include <string>
class Nick : public ICommand
{
private:
std::string nickName;
public:
Nick();
~Nick();
bool validate(const User &user, const std::string &msg);
bool validate(const Connection &conn, const std::string &message);
int run(User &user, IRC::t_send_f &send);
int run(Connection &conn, IRC::t_send_f &send);
};
#endif