diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-02-22 21:42:24 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-02-22 21:42:24 +0100 |
commit | 99aba5667d0d7ba6657f9c175a9342126bc4b0f2 (patch) | |
tree | 2448f73a7e4129f1a8f9f51e230dd00111452a30 /src/bridge/bridge.hpp | |
parent | 61ca40fa0e6c819aa72f3f2364667c7b990855d4 (diff) | |
download | biboumi-99aba5667d0d7ba6657f9c175a9342126bc4b0f2.tar.gz biboumi-99aba5667d0d7ba6657f9c175a9342126bc4b0f2.tar.bz2 biboumi-99aba5667d0d7ba6657f9c175a9342126bc4b0f2.tar.xz biboumi-99aba5667d0d7ba6657f9c175a9342126bc4b0f2.zip |
Connection to servers does not block the process anymore
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r-- | src/bridge/bridge.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp index 58ca24c..e16ea39 100644 --- a/src/bridge/bridge.hpp +++ b/src/bridge/bridge.hpp @@ -105,9 +105,9 @@ public: */ std::string get_own_nick(const Iid& iid); /** - * Get the number of server to which this bridge is connected. + * Get the number of server to which this bridge is connected or connecting. */ - size_t connected_clients() const; + size_t active_clients() const; private: /** @@ -125,7 +125,7 @@ private: * The JID of the user associated with this bridge. Messages from/to this * JID are only managed by this bridge. */ - std::string user_jid; + const std::string user_jid; /** * One IrcClient for each IRC server we need to be connected to. * The pointer is shared by the bridge and the poller. |