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