diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-08-08 00:46:27 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-08-08 00:46:27 +0200 |
commit | e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b (patch) | |
tree | 454b67b3b623786e97bd4a2cc63c501621f19e97 /src/irc | |
parent | 7d99ba8dd9aa5845741bb50d598082bb55c0adac (diff) | |
download | biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.tar.gz biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.tar.bz2 biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.tar.xz biboumi-e3ea0d62c79cf74e154f24d7f5a0fa8c7d26d73b.zip |
Use generic send_presence_error() instead of almost identical specializations
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index e518ffc..678cac8 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -77,8 +77,9 @@ void IrcClient::on_connection_failed(const std::string& reason) for (const std::string& channel: this->channels_to_join) { Iid iid(channel + "%" + this->hostname); - this->bridge->send_join_failed(iid, this->current_nick, - "cancel", "item-not-found", reason); + this->bridge->send_presence_error(iid, this->current_nick, + "cancel", "item-not-found", + "", reason); } } else // try the next port |