Vanilla Development Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS update: Vanilla/ntserv



Date:	Thursday June 17, 1999 @ 1:45
Author:	unbelver

Update of /home/netrek/cvsroot/Vanilla/ntserv
In directory cvs.castle.real-time.com:/var/tmp/cvs-serv6965

Modified Files:
	commands.c 
Log Message:

I really need to be careful next time.

But I found out where command.c is used.  Its used in ./robots as a
generic command executor.  Twiddling around with the inl robot and
recompiling showed me how much of a twink I am.

But now the question is:  Why is it in ./ntserv instead of ./robots or
./tools or the like?

--Carlos V.




****************************************

Index: Vanilla/ntserv/commands.c
diff -u Vanilla/ntserv/commands.c:1.3 Vanilla/ntserv/commands.c:1.4
--- Vanilla/ntserv/commands.c:1.3	Wed Jun 16 14:06:20 1999
+++ Vanilla/ntserv/commands.c	Thu Jun 17 01:45:53 1999
@@ -1152,7 +1152,7 @@
         pcount++;
         if (i==who) {
 	    if ((j->voting[what] != 0) && (votes[num].frequency != 0)) {
-		f ( (j->voting[what] + votes[num].frequency) > time(NULL) ) {
+		if ( (j->voting[what] + votes[num].frequency) > time(NULL) ) {
       		    bounce(who,"Sorry, you can only use %s every %1.1f minutes",
 				votes[num].type, votes[num].frequency / 60.0);
 	 	    return 0;