Fixed wrong position to catch channel name in 'ENDOFNAMES' reply

pull/50/head
Tomatix 4 years ago
parent 4d22cdb93f
commit b1f3910255
  1. 2
      IRCClient/IRCBase.cpp

@ -1018,7 +1018,7 @@ void IRCBasePriv::parseIncoming(const std::string& line)
}
else if (command == RPL_ENDOFNAMES) {
auto chan = super.getChannel(args[2]);
auto chan = super.getChannel(args[1]);
if (chan && chan->isPopulating())
chan->donePopulating();
}

Loading…
Cancel
Save