allow blank showname
This commit is contained in:
parent
953e9a50c7
commit
5e79cf3f9f
@ -512,6 +512,8 @@ AOPacket AOClient::validateIcPacket(AOPacket packet)
|
|||||||
if (incoming_args.length() > 15) {
|
if (incoming_args.length() > 15) {
|
||||||
// showname
|
// showname
|
||||||
QString incoming_showname = dezalgo(incoming_args[15].toString().trimmed());
|
QString incoming_showname = dezalgo(incoming_args[15].toString().trimmed());
|
||||||
|
if (incoming_showname.length() == 0)
|
||||||
|
incoming_showname = " ";
|
||||||
args.append(incoming_showname);
|
args.append(incoming_showname);
|
||||||
showname = incoming_showname;
|
showname = incoming_showname;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user