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

23 lines
477 B
C++

#ifndef USERCMD_HPP
#define USERCMD_HPP
#include "../ICommand.hpp"
#include "../IRC.hpp"
#include <string>
class UserCMD : public ICommand
{
private:
std::string userName;
std::string realName;
public:
UserCMD();
~UserCMD();
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