add def shortcut for define

This commit is contained in:
John
2021-11-05 10:54:52 +01:00
parent 019b272795
commit d5b7a257f0
+1 -1
View File
@@ -607,7 +607,7 @@ result_t MainLoop::decodeMessage(const string &data, bool isHttp, bool* connecte
if (cmd == "G" || cmd == "GRAB") {
return executeGrab(args, ostream);
}
if (cmd == "DEFINE") {
if (cmd == "DEF" || cmd == "DEFINE") {
if (m_newlyDefinedMessages) {
return executeDefine(args, ostream);
}