summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-06-25 22:57:13 +0200
committerlouiz’ <louiz@louiz.org>2018-06-25 22:57:13 +0200
commit52166e07acd785b39c0da98be4c35e886b75c3c9 (patch)
treed175c7de382873bd0105ec8d16adc8ba0ac86642 /src/bridge
parent870692dcdfa1a2a596981d4bff511a674e4a379a (diff)
downloadbiboumi-52166e07acd785b39c0da98be4c35e886b75c3c9.tar.gz
biboumi-52166e07acd785b39c0da98be4c35e886b75c3c9.tar.bz2
biboumi-52166e07acd785b39c0da98be4c35e886b75c3c9.tar.xz
biboumi-52166e07acd785b39c0da98be4c35e886b75c3c9.zip
Trivial syntax improvements
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/bridge.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index b6081d5..08d0bab 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -63,7 +63,8 @@ void Bridge::shutdown(const std::string& exit_message)
{
for (auto& pair: this->irc_clients)
{
- pair.second->send_quit_command(exit_message);
+ std::shared_ptr<IrcClient>& irc = pair.second;
+ irc->send_quit_command(exit_message);
}
}