]> git.pond.sub.org Git - empserver/commitdiff
(peek, empmod): Remove obsolete command hidden.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 3 Dec 2005 21:02:31 +0000 (21:02 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 3 Dec 2005 21:02:31 +0000 (21:02 +0000)
src/lib/commands/peek.c
src/lib/player/empmod.c

index de51e02d9a08202d98054450ce09dcc0d824f3c7..baf553482e35b1a08138db943770548222b99c36 100644 (file)
@@ -40,7 +40,6 @@
 #include "nsc.h"
 #include "nat.h"
 #include "commands.h"
-#include "version.h" /* need to OBSOLETE hidden command */
 
 int
 peek(void)
@@ -49,13 +48,6 @@ peek(void)
     int nsect;
     struct nstr_sect nstr;
 
-    /* 
-     * OBSOLETE
-     * Can be removed once hidden command is removed from empmod.c
-     */
-    if (player->argp[0][0] == 'h')
-       pr("The hidden command has been renamed to peek, use peek in the future\n");
-
     if (!snxtsct(&nstr, player->argp[1]))
        return RET_SYN;
     prdate();
index 1069b3749d692825ad35d375d2af887e6cf214ef..2bf755e34801d19c93db6846e5fdfce25e5e0c2e 100644 (file)
@@ -40,8 +40,6 @@
 #include "nat.h"
 #include "file.h"
 #include "commands.h"
-#include "version.h" /* need to OBSOLETE hidden command */
-
 
 struct cmndstr player_coms[] = {
 /*  command form                       cost    addr    permit */
@@ -120,11 +118,6 @@ struct cmndstr player_coms[] = {
     {"harden <PLANES> <NUM>", 2, hard, C_MOD, NORM + MONEY + CAP},
     {"help <topic>", 0, info, 0, VIS},
     {"headlines [days]", 0, head, C_MOD, VIS},
-    /* 
-     * OBSOLETE
-     * once hidden command is removed, also remove the hidden code in peek.c
-     */
-    {"hidden <SECTS>", 0, peek, 0, GOD},
     {"improve <road|rail|defense> <SECTS> <NUM>", 1, improve, C_MOD,
      NORM + MONEY + CAP},
     {"info <topic>", 0, info, 0, VIS},