summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-15 05:11:36 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-15 05:11:36 +0200
commit14b6793d7fe78cfbab4f2686eb58e59d4f40338c (patch)
treef9494e6ede54b9c1e87b9bb21eec1e6550eed4af /src
parent28065d3d52cc48abd39a8556a0c282014b18f25a (diff)
downloadbiboumi-14b6793d7fe78cfbab4f2686eb58e59d4f40338c.tar.gz
biboumi-14b6793d7fe78cfbab4f2686eb58e59d4f40338c.tar.bz2
biboumi-14b6793d7fe78cfbab4f2686eb58e59d4f40338c.tar.xz
biboumi-14b6793d7fe78cfbab4f2686eb58e59d4f40338c.zip
Joining the dummy channel connects to the irc server
Diffstat (limited to 'src')
-rw-r--r--src/bridge/bridge.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index e874ccb..eceb22e 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -119,7 +119,10 @@ bool Bridge::join_irc_channel(const Iid& iid, const std::string& username)
irc->on_channel_completely_joined(end_join_message);
}
else
+ {
irc->get_dummy_channel().joining = true;
+ irc->start();
+ }
return true;
}
if (irc->is_channel_joined(iid.chan) == false)