Skip to content

Commit d31434a

Browse files
committed
prefs is 5 char length :nerd:
1 parent b67decf commit d31434a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/CommonCLI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
746746
_prefs->advert_loc_policy = ADVERT_LOC_SHARE;
747747
savePrefs();
748748
strcpy(reply, "ok");
749-
} else if (memcmp(command+11, "prefs", 4) == 0) {
749+
} else if (memcmp(command+11, "prefs", 5) == 0) {
750750
_prefs->advert_loc_policy = ADVERT_LOC_PREFS;
751751
savePrefs();
752752
strcpy(reply, "ok");

0 commit comments

Comments
 (0)