summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-03-29 23:32:43 +0200
committerlouiz’ <louiz@louiz.org>2017-03-29 23:32:43 +0200
commit1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd (patch)
tree8da20afbb4520f71bbdd9ed6fc2ff301bb7be992 /src/bridge/bridge.hpp
parent52b795d11976802cfec12d886fca508047ffed89 (diff)
downloadbiboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.gz
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.bz2
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.tar.xz
biboumi-1a09c965eb3723cdaab9ea556f30ffbc7f09a6dd.zip
Remove two sneaky log_debug
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index 03eb716..53d2136 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -38,7 +38,7 @@ using irc_responder_callback_t = std::function<bool(const std::string& irc_hostn
class Bridge
{
public:
- explicit Bridge(const std::string& user_jid, BiboumiComponent& xmpp, std::shared_ptr<Poller>& poller);
+ explicit Bridge(std::string user_jid, BiboumiComponent& xmpp, std::shared_ptr<Poller>& poller);
~Bridge() = default;
Bridge(const Bridge&) = delete;
@@ -169,7 +169,7 @@ public:
/**
* Send an unavailable presence from this participant
*/
- void send_muc_leave(Iid&& iid, std::string&& nick, const std::string& message, const bool self, const std::string& resource="");
+ void send_muc_leave(const Iid& iid, std::string&& nick, const std::string& message, const bool self, const std::string& resource = "");
/**
* Send presences to indicate that an user old_nick (ourself if self ==
* true) changed his nick to new_nick. The user_mode is needed because
@@ -309,11 +309,11 @@ private:
/**
* Manage which resource is in which channel
*/
- void add_resource_to_chan(const ChannelKey& channel_key, const std::string& resource);
- void remove_resource_from_chan(const ChannelKey& channel_key, const std::string& resource);
- bool is_resource_in_chan(const ChannelKey& channel_key, const std::string& resource) const;
- void remove_all_resources_from_chan(const ChannelKey& channel_key);
- std::size_t number_of_resources_in_chan(const ChannelKey& channel_key) const;
+ void add_resource_to_chan(const ChannelKey& channel, const std::string& resource);
+ void remove_resource_from_chan(const ChannelKey& channel, const std::string& resource);
+ bool is_resource_in_chan(const ChannelKey& channel, const std::string& resource) const;
+ void remove_all_resources_from_chan(const ChannelKey& channel);
+ std::size_t number_of_resources_in_chan(const ChannelKey& channel) const;
void add_resource_to_server(const IrcHostname& irc_hostname, const std::string& resource);
void remove_resource_from_server(const IrcHostname& irc_hostname, const std::string& resource);