station_cmd.c
changeset 1820 9b6458526480
parent 1786 a54634efeb98
child 1840 c181d5cb4ffe
--- a/station_cmd.c	Sun May 15 18:43:36 2005 +0000
+++ b/station_cmd.c	Sun May 15 18:50:55 2005 +0000
@@ -2658,7 +2658,7 @@
 
 	if (!IsValidStation(st) || !CheckOwnership(st->owner)) return CMD_ERROR;
 
-	str = AllocateNameUnique((const char*)_decode_parameters, 6);
+	str = AllocateNameUnique(_cmd_text, 6);
 	if (str == 0) return CMD_ERROR;
 
 	if (flags & DC_EXEC) {