Small trivial readability improvement
This commit is contained in:
@@ -185,7 +185,7 @@ bool Bridge::join_irc_channel(const Iid& iid, std::string nickname,
|
|||||||
auto res_in_chan = this->is_resource_in_chan(ChannelKey{iid.get_local(), hostname}, resource);
|
auto res_in_chan = this->is_resource_in_chan(ChannelKey{iid.get_local(), hostname}, resource);
|
||||||
if (!res_in_chan)
|
if (!res_in_chan)
|
||||||
this->add_resource_to_chan(ChannelKey{iid.get_local(), hostname}, resource);
|
this->add_resource_to_chan(ChannelKey{iid.get_local(), hostname}, resource);
|
||||||
if (irc->is_channel_joined(iid.get_local()) == false)
|
if (!irc->is_channel_joined(iid.get_local()))
|
||||||
{
|
{
|
||||||
irc->send_join_command(iid.get_local(), password);
|
irc->send_join_command(iid.get_local(), password);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user