Browse Source

Fixed off-by-one error.

release/0.19
JustinAJ 10 years ago
parent
commit
e18b3a670d
  1. 2
      Jupiter/IRC_Client.cpp
  2. BIN
      Release/Jupiter.lib

2
Jupiter/IRC_Client.cpp

@ -818,7 +818,7 @@ int Jupiter::IRC::Client::primaryHandler()
{ {
Jupiter::ReferenceString ref = Jupiter::ReferenceString::substring(buff, pos + 8); Jupiter::ReferenceString ref = Jupiter::ReferenceString::substring(buff, pos + 8);
Jupiter::IRC::Client::data_->prefixModes = Jupiter::ReferenceString::getWord(ref, 0, ")"); Jupiter::IRC::Client::data_->prefixModes = Jupiter::ReferenceString::getWord(ref, 0, ")");
ref.shiftRight(ref.find(')')); ref.shiftRight(ref.find(')') + 1);
Jupiter::IRC::Client::data_->prefixes = Jupiter::ReferenceString::getWord(ref, 0, " " ENDL); Jupiter::IRC::Client::data_->prefixes = Jupiter::ReferenceString::getWord(ref, 0, " " ENDL);
} }
pos = buff.find(STRING_LITERAL_AS_REFERENCE("CHANMODES=")); pos = buff.find(STRING_LITERAL_AS_REFERENCE("CHANMODES="));

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save