21 lines
315 B
C++
21 lines
315 B
C++
|
#ifndef PING_HPP
|
||
|
#define PING_HPP
|
||
|
|
||
|
#include "../ICommand.hpp"
|
||
|
#include "../IRC.hpp"
|
||
|
#include <string>
|
||
|
|
||
|
class Ping : public ICommand
|
||
|
{
|
||
|
private:
|
||
|
std::string pingID;
|
||
|
public:
|
||
|
Ping();
|
||
|
~Ping();
|
||
|
bool validate(const User &user, const std::string &msg);
|
||
|
int run(User &user, IRC::t_send_f &send);
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|