]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/wantupd.c
Store update disable flag in the game table to make it visible in
[empserver] / src / lib / common / wantupd.c
index f58fedec8c85d9f68bbaeee7d86851437f78baad..30b0e634b87a3294ae402c59324884fc9a51e77f 100644 (file)
@@ -116,14 +116,3 @@ demandupdatecheck(void)
        && demand_update_time(&now)
        && demand_check();
 }
-
-int
-updates_disabled(void)
-{
-    int fd;
-
-    if ((fd = open(disablefil, O_RDONLY, 0)) < 0)
-       return 0;
-    close(fd);
-    return 1;
-}