]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/new.c
Update copyright notice
[empserver] / src / lib / commands / new.c
index 871c8b686d84387c239a2acab59ce9849f79d555..627c209508838ab51d6994d22990d745b46af92a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2009, 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
@@ -41,7 +41,6 @@
 #include "optlist.h"
 #include "path.h"
 #include "prototypes.h"
-#include "tel.h"
 
 static void init_sanct(struct natstr *, coord, coord);
 
@@ -67,7 +66,7 @@ new(void)
        pr("Country #%d (%s) isn't a new country!\n", num, cname(num));
        return RET_SYN;
     }
-    if ((p = getstarg(player->argp[2], "sanctuary pair : ", buf)) == 0)
+    if (!(p = getstarg(player->argp[2], "sanctuary pair : ", buf)))
        return RET_SYN;
     if (!sarg_xy(p, &x, &y) || !getsect(x, y, &sect))
        return RET_SYN;