The complete source code of IdealIRC
http://www.idealirc.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
466 B
19 lines
466 B
/*
|
|
* IdealIRC Core - Internet Relay Chat API
|
|
* Copyright (C) 2021 Tom-Andre Barstad.
|
|
* This software is licensed under the Software Attribution License.
|
|
* See LICENSE for more information.
|
|
*/
|
|
|
|
#include "../IRCBase.h"
|
|
#include "../IRCBasePriv.h"
|
|
#include "../Commands.h"
|
|
|
|
void IRCBasePriv::cmdPing(const IRCMessage& ircmessage)
|
|
{
|
|
using namespace Command::IRC;
|
|
|
|
const auto& msg = ircmessage.getMessage();
|
|
write(PONG, msg);
|
|
super.onMsgPing(msg);
|
|
}
|
|
|