Refactor channel->parting to a new location

This commit is contained in:
louiz’
2016-10-23 23:58:03 +02:00
parent 8b8bbceeb3
commit 00eb18bae8
2 changed files with 2 additions and 4 deletions
+1
View File
@@ -502,6 +502,7 @@ void IrcClient::send_part_command(const std::string& chan_name, const std::strin
this->leave_dummy_channel(status_message);
else
this->send_message(IrcMessage("PART", {chan_name, status_message}));
channel->parting = true;
}
}