diff options
author | Florent Le Coz <louiz@louiz.org> | 2013-12-08 20:14:12 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2013-12-08 20:14:12 +0100 |
commit | b11126a19dbaadf4c32fb8dbec22754ad0712c26 (patch) | |
tree | 140a9c33a264adfb4eee7a0e2add0b6c5ec1671c /src/bridge/bridge.hpp | |
parent | cb718def0cb51aac4c2125e3864522740fcb2573 (diff) | |
download | biboumi-b11126a19dbaadf4c32fb8dbec22754ad0712c26.tar.gz biboumi-b11126a19dbaadf4c32fb8dbec22754ad0712c26.tar.bz2 biboumi-b11126a19dbaadf4c32fb8dbec22754ad0712c26.tar.xz biboumi-b11126a19dbaadf4c32fb8dbec22754ad0712c26.zip |
Provide a JID for IRC users, and add a stringprep dependency for this
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 1443191..bbbca95 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -3,6 +3,7 @@ #include <irc/irc_client.hpp> #include <bridge/colors.hpp> +#include <irc/irc_user.hpp> #include <irc/iid.hpp> #include <unordered_map> @@ -56,7 +57,9 @@ public: /** * Send the presence of a new user in the MUC. */ - void send_user_join(const std::string& hostname, const std::string& chan_name, const std::string nick); + void send_user_join(const std::string& hostname, + const std::string& chan_name, + const IrcUser* user); /** * Send the self presence of an user when the MUC is fully joined. */ |