]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/chan.c
Update copyright notice.
[empserver] / src / lib / commands / chan.c
index b9d610809c126ddc90969c5697dd5ca839484716..4ff8c6c0735f1194fea3ce319f5b0de701ae8fa8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2000, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -36,7 +36,6 @@
 #include "misc.h"
 #include "player.h"
 #include "nat.h"
-#include "deity.h"
 #include "file.h"
 #include "news.h"
 #include "optlist.h"
@@ -90,7 +89,7 @@ chan(void)
            return RET_SYN;
        p[sizeof(us->nat_cnam) - 1] = 0;
        for (cn = 0; NULL != (natp = getnatp(cn)); cn++) {
-           if (same(p, natp->nat_cnam)) {
+           if (!strcmp(p, natp->nat_cnam)) {
                pr("Country #%d is already called `%s'!\n", cn, p);
                return RET_FAIL;
            }