summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-26 18:34:56 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-27 02:35:39 +0200
commit34739728f930f461ae6763a5f144f709a9919e59 (patch)
tree2592e2115f296ee69ed3a58d3ec6363de6189055 /src
parentaea923bcb99f8a7dee83202b035bc377cf835c65 (diff)
downloadbiboumi-34739728f930f461ae6763a5f144f709a9919e59.tar.gz
biboumi-34739728f930f461ae6763a5f144f709a9919e59.tar.bz2
biboumi-34739728f930f461ae6763a5f144f709a9919e59.tar.xz
biboumi-34739728f930f461ae6763a5f144f709a9919e59.zip
Fix a by-one error in the CHANTYPES parsing
Diffstat (limited to 'src')
-rw-r--r--src/irc/irc_client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp
index 1411689..270e0ed 100644
--- a/src/irc/irc_client.cpp
+++ b/src/irc/irc_client.cpp
@@ -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++]);
}