blabla/Nick.hpp
Danny Jonker d426297b2a bla
2024-08-03 21:04:44 +02:00

23 lines
439 B
C++

#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