fix the quit command, asserting the wrong keyword (probably copypasta).

This commit is contained in:
Enno Rehling 2014-11-01 21:57:06 +01:00
parent f3e54e103a
commit dc7cbd886c
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
#define VERSION_MAJOR 3
#define VERSION_MINOR 3
#define VERSION_BUILD 687
#define VERSION_BUILD 688

View File

@ -926,7 +926,7 @@ int quit_cmd(unit * u, struct order *ord)
keyword_t kwd;
kwd = init_order(ord);
assert(kwd == K_PASSWORD);
assert(kwd == K_QUIT);
passwd = getstrtoken();
if (checkpasswd(f, (const char *)passwd, false)) {
if (EnhancedQuit()) {