Commit 34739728 authored by louiz’'s avatar louiz’

Fix a by-one error in the CHANTYPES parsing

parent aea923bc
......@@ -285,7 +285,7 @@ void IrcClient::on_isupport_message(const IrcMessage& message)
// Remove the default types, they apply only if no other value is
// specified.
this->chantypes.clear();
size_t i = 11;
size_t i = 10;
while (i < token.size())
this->chantypes.insert(token[i++]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment