]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/setsect.c
Update copyright notice
[empserver] / src / lib / commands / setsect.c
index f157abc9c9cb56753e0e36bc77deb60a22906c91..390c0f463cfc427acb9cdec8dfd692fc34e5a6c4 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -34,7 +34,6 @@
 #include <config.h>
 
 #include "commands.h"
-#include "lost.h"
 #include "news.h"
 #include "optlist.h"
 
@@ -68,6 +67,7 @@ setsector(void)
        if (!p || !*p)
            return RET_SYN;
        amt = atoi(p);
+       check_sect_ok(&sect);
        switch (char0) {
        case 'i':
            current = sect.sct_min;