Don't process Beast mode A/C messages if mode A/C is disabled.
This commit is contained in:
parent
6336611bc7
commit
64fd61cffc
1 changed files with 1 additions and 1 deletions
2
net_io.c
2
net_io.c
|
|
@ -875,7 +875,7 @@ static int decodeBinMessage(struct client *c, char *p) {
|
|||
|
||||
ch = *p++; /// Get the message type
|
||||
|
||||
if (ch == '1') {
|
||||
if (ch == '1' && Modes.mode_ac) {
|
||||
msgLen = MODEAC_MSG_BYTES;
|
||||
} else if (ch == '2') {
|
||||
msgLen = MODES_SHORT_MSG_BYTES;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue