forked from github/server
fix the quit command, asserting the wrong keyword (probably copypasta).
This commit is contained in:
parent
f3e54e103a
commit
dc7cbd886c
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
#define VERSION_MAJOR 3
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_BUILD 687
|
||||
#define VERSION_BUILD 688
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue