diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-06-19 22:21:49 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-06-19 22:21:49 +0200 |
commit | 26ffc8fe121e03e1b663aa0015a71b0fc914f95e (patch) | |
tree | 098ca791e05911ecdc7ae22620c263669e37f7d3 /src/irc/iid.cpp | |
parent | a705b9af7b1bbce6b6c94788398a4cff9cad9ec9 (diff) | |
download | biboumi-26ffc8fe121e03e1b663aa0015a71b0fc914f95e.tar.gz biboumi-26ffc8fe121e03e1b663aa0015a71b0fc914f95e.tar.bz2 biboumi-26ffc8fe121e03e1b663aa0015a71b0fc914f95e.tar.xz biboumi-26ffc8fe121e03e1b663aa0015a71b0fc914f95e.zip |
Implement a way to add callbacks, waiting for an IRC event to return an iq
Diffstat (limited to 'src/irc/iid.cpp')
-rw-r--r-- | src/irc/iid.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/irc/iid.cpp b/src/irc/iid.cpp index 4893e9e..0bb991f 100644 --- a/src/irc/iid.cpp +++ b/src/irc/iid.cpp @@ -20,6 +20,14 @@ Iid::Iid(const std::string& iid): this->set_server(iid); } +Iid::Iid(const Iid& other): + is_channel(other.is_channel), + is_user(other.is_user), + local(other.local), + server(other.server) +{ +} + Iid::Iid(): is_channel(false), is_user(false) |