diff --git a/Jupiter/IRC_Client.cpp b/Jupiter/IRC_Client.cpp index 57b5dff..6f281b1 100644 --- a/Jupiter/IRC_Client.cpp +++ b/Jupiter/IRC_Client.cpp @@ -1132,7 +1132,7 @@ int Jupiter::IRC::Client::primaryHandler() Jupiter::ReferenceString tword; unsigned char g = 0; char symb = 0; - for (uint8_t z = 0; modes[z] != 0; z++) + for (uint8_t z = 0; z != modes.size(); z++) { if (modes[z] == '+' || modes[z] == '-') symb = modes[z]; diff --git a/Release/Jupiter.lib b/Release/Jupiter.lib index 1672eee..60cb095 100644 Binary files a/Release/Jupiter.lib and b/Release/Jupiter.lib differ