|
|
|
@ -652,6 +652,15 @@ void IRC::onMsgNumeric(const IRCPrefix& /*sender*/, const std::string& num, cons |
|
|
|
|
window->print(PrintType::Normal, msg.c_str()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
else if (num == Numeric::RPL_LISTSTART) { |
|
|
|
|
getStatus().print(PrintType::ProgramInfo, "Listing public channels..."); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
else if (num == Numeric::RPL_LIST) { |
|
|
|
|
std::string msg = fmt::format("{} [{} users] {}", args[1], args[2], message); |
|
|
|
|
getStatus().print(PrintType::Normal, QString::fromStdString(msg)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
else { |
|
|
|
|
IWin* window = nullptr; |
|
|
|
|
|
|
|
|
|