diff --git a/README.md b/README.md index 483adf3..89ceb05 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ Requires Qt >= 5.10, and Qt websockets **Ubuntu 20.04/22.04** - Ubuntu 18.04 or older are not supported. ``` - sudo apt install build-essential qt5-default libqt5websockets5-dev + sudo apt install build-essential qtbase5-dev qt5-qmake qttools5-dev qttools5-dev-tools libqt5websockets5-dev git clone https://github.com/AttorneyOnline/akashi cd akashi - qmake && make + qmake project-akashi.pro && make ``` # Contributors diff --git a/src/packet/packet_ms.cpp b/src/packet/packet_ms.cpp index cc7851f..70092fc 100644 --- a/src/packet/packet_ms.cpp +++ b/src/packet/packet_ms.cpp @@ -4,6 +4,7 @@ #include "server.h" #include +#include PacketMS::PacketMS(QStringList &contents) : AOPacket(contents) @@ -153,7 +154,7 @@ AOPacket *PacketMS::validateIcPacket(AOClient &client) const } if (client.m_is_disemvoweled) { - QString l_disemvoweled_message = l_incoming_msg.remove(QRegExp("[AEIOUaeiou]")); + QString l_disemvoweled_message = l_incoming_msg.remove(QRegularExpression("[AEIOUaeiou]")); l_incoming_msg = l_disemvoweled_message; }