Nick Ryder / IrcBot Featured
Embed: (wiki syntax)

« Back to documentation index

EchoHandler Class Reference

EchoHandler Class Reference

A handler to echo back any messages of the form "ECHO <x>". More...

#include <IrcMessageHandlers.h>

Inherits MessageHandler.

Public Member Functions

IrcMessage handle (IrcMessage msg)
 Reply to "ECHO <x>" with "<x>".

Detailed Description

A handler to echo back any messages of the form "ECHO <x>".

Definition at line 60 of file IrcMessageHandlers.h.


Member Function Documentation

IrcMessage handle ( IrcMessage  msg ) [virtual]

Reply to "ECHO <x>" with "<x>".

Reimplemented from MessageHandler.

Definition at line 99 of file IrcMessageHandlers.cpp.