20 lines
328 B
C++
20 lines
328 B
C++
#ifndef INVITE_HPP
|
|
#define INVITE_HPP
|
|
|
|
#include "../ICommand.hpp"
|
|
#include <string>
|
|
|
|
class Invite : public ICommand
|
|
{
|
|
private:
|
|
User *targetUser;
|
|
Channel *targetChannel;
|
|
public:
|
|
Invite();
|
|
~Invite();
|
|
bool validate(const User &user, const std::string &msg);
|
|
int run(User &user, IRC::t_send_f &send);
|
|
};
|
|
|
|
#endif
|