add def shortcut for define
This commit is contained in:
@@ -607,7 +607,7 @@ result_t MainLoop::decodeMessage(const string &data, bool isHttp, bool* connecte
|
|||||||
if (cmd == "G" || cmd == "GRAB") {
|
if (cmd == "G" || cmd == "GRAB") {
|
||||||
return executeGrab(args, ostream);
|
return executeGrab(args, ostream);
|
||||||
}
|
}
|
||||||
if (cmd == "DEFINE") {
|
if (cmd == "DEF" || cmd == "DEFINE") {
|
||||||
if (m_newlyDefinedMessages) {
|
if (m_newlyDefinedMessages) {
|
||||||
return executeDefine(args, ostream);
|
return executeDefine(args, ostream);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user