diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-11-10 06:33:04 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-11-10 06:33:04 +0100 |
commit | 10d528717723a72dd3240c634980a461cf9fa2df (patch) | |
tree | 51f640715c78b4d76a04a4952edb5c6a5acf6de0 /src/irc/irc_client.hpp | |
parent | 7ba2d0fb45e7466e6fb38002bf1866d1f5e39c28 (diff) | |
download | biboumi-10d528717723a72dd3240c634980a461cf9fa2df.tar.gz biboumi-10d528717723a72dd3240c634980a461cf9fa2df.tar.bz2 biboumi-10d528717723a72dd3240c634980a461cf9fa2df.tar.xz biboumi-10d528717723a72dd3240c634980a461cf9fa2df.zip |
Handle private messages, both ways
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r-- | src/irc/irc_client.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp index 33ab894..bb51a4e 100644 --- a/src/irc/irc_client.hpp +++ b/src/irc/irc_client.hpp @@ -76,6 +76,10 @@ public: */ bool send_channel_message(const std::string& chan_name, const std::string& body); /** + * Send a PRIVMSG command for an user + */ + void send_private_message(const std::string& username, const std::string& body); + /** * Send the PART irc command */ void send_part_command(const std::string& chan_name, const std::string& status_message); |