]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/dist.c
commands: Rename the command functions
[empserver] / src / lib / commands / dist.c
index 2a866a46b5ba5ea5eca00dc714dae49192b64993..799aac083252b1c76e2945b260186a5f42d97fe5 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2013, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -42,7 +42,7 @@
  * distribute <SECT> <DISTSECT|.|h>
  */
 int
-dist(void)
+c_distribute(void)
 {
     struct sctstr sect, dsect, tsect;
     struct nstr_sect nstr;
@@ -65,10 +65,10 @@ dist(void)
                pr("distributes to %s, not owned by you.\n",
                   xyas(tsect.sct_x, tsect.sct_y, player->cnum));
            else
-               pr("distributes to %s. \n",
+               pr("distributes to %s.\n",
                   xyas(tsect.sct_x, tsect.sct_y, player->cnum));
        } else
-           pr("has no dist sector. \n");
+           pr("has no dist sector.\n");
        p = getstarg(player->argp[2], "Distribution sector? ", buf);
        if (!p)
            return RET_SYN;