]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/enab.c
Update copyright notice
[empserver] / src / lib / commands / enab.c
index 01867acc42d7b066c8fedccb86da3c0651144d9b..3522ee00e525405c8697f6e448d36305d98a09a0 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
  *  ---
  *
  *  enab.c: Enable the updates (deity)
- * 
+ *
  *  Known contributors to this file:
- *     
+ *     Markus Armbruster, 2007
  */
 
 #include <config.h>
 
-#if !defined(_WIN32)
-#include <unistd.h>
-#elif defined(__GNUC__)
-#include <io.h>
-#endif
 #include "commands.h"
-#include "optlist.h"
+#include "game.h"
 
 int
 enab(void)
 {
-    (void)unlink(disablefil);
+    game_ctrl_update(1);
     pr("Updates are enabled\n");
     return RET_OK;
 }