]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/mobq.c
Fix extra prompt after abort due to misuse of snxtitem()
[empserver] / src / lib / commands / mobq.c
index fcd8cf5f38582f57c4a6974a114e647897e7981a..19dff8135f45e61242f0d8e7a8a325f635b98c7a 100644 (file)
@@ -51,7 +51,7 @@ mobq(void)
        pr("The SAIL option is not enabled, so this command is not valid.\n");
        return RET_FAIL;
     }
-    if (!snxtitem(&nstr, EF_SHIP, player->argp[1]))
+    if (!snxtitem(&nstr, EF_SHIP, player->argp[1], NULL))
        return RET_SYN;
     oldmq = player->argp[2];
     if (oldmq) {