Add in a few extra plugins
This commit is contained in:
21
plugins/IrcClientPlugin/testhandler.cpp
Normal file
21
plugins/IrcClientPlugin/testhandler.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#include "testhandler.h"
|
||||
#include <QDebug>
|
||||
|
||||
testhandler::testhandler()
|
||||
{
|
||||
|
||||
}
|
||||
void testhandler::handle(Client *client, const Message &message)
|
||||
{
|
||||
|
||||
QString text = message.getArguments().join(" ");
|
||||
|
||||
client->didReceiveNamesList(text);
|
||||
|
||||
// for (QString data : message.getArguments()) // iterate over array fibonacci
|
||||
// {
|
||||
// qDebug() << "GOT:" << data;
|
||||
// }
|
||||
//QString pongMessage = message.getTarget();
|
||||
//client->sendPong(pongMessage);
|
||||
}
|
||||
Reference in New Issue
Block a user