Merge pull request #3 from AttorneyOnline/master

Synch to R2
This commit is contained in:
MangosArentLiterature 2021-04-03 10:48:30 -05:00 committed by GitHub
commit 97276b993d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@ int main(int argc, char* argv[])
{
QCoreApplication app(argc, argv);
QCoreApplication::setApplicationName("akashi");
QCoreApplication::setApplicationVersion("apricot r2 prerelease");
QCoreApplication::setApplicationVersion("apricot r2");
std::atexit(cleanup);
ConfigManager config_manager;

View File

@ -511,6 +511,8 @@ AOPacket AOClient::validateIcPacket(AOPacket packet)
if (incoming_args.length() > 15) {
// showname
QString incoming_showname = dezalgo(incoming_args[15].toString().trimmed());
if (incoming_showname.length() == 0)
incoming_showname = " ";
args.append(incoming_showname);
showname = incoming_showname;