[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bzflag-commits
Subject:    SF.net SVN: bzflag: [16638] trunk/bzflag
From:       bthansen () users ! sourceforge ! net
Date:       2008-02-24 17:22:20
Message-ID: E1JTKYO-0003iR-9C () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 16638
          http://bzflag.svn.sourceforge.net/bzflag/?rev=16638&view=rev
Author:   bthansen
Date:     2008-02-24 09:22:19 -0800 (Sun, 24 Feb 2008)

Log Message:
-----------
Spelling

durration -> duration globally

Modified Paths:
--------------
    trunk/bzflag/include/bzfsAPI.h
    trunk/bzflag/src/bzfs/bzfsAPI.cxx

Modified: trunk/bzflag/include/bzfsAPI.h
===================================================================
--- trunk/bzflag/include/bzfsAPI.h	2008-02-20 23:43:03 UTC (rev 16637)
+++ trunk/bzflag/include/bzfsAPI.h	2008-02-24 17:22:19 UTC (rev 16638)
@@ -1526,7 +1526,7 @@
 
 // admin
 BZF_API bool bz_kickUser ( int playerIndex, const char* reason, bool notify );
-BZF_API bool bz_IPBanUser ( int playerIndex, const char* ip, int durration, const \
char* reason ); +BZF_API bool bz_IPBanUser ( int playerIndex, const char* ip, int \
duration, const char* reason );  BZF_API bool bz_IPUnbanUser ( const char* ip );
 BZF_API bz_APIStringList* bz_getReports( void );
 

Modified: trunk/bzflag/src/bzfs/bzfsAPI.cxx
===================================================================
--- trunk/bzflag/src/bzfs/bzfsAPI.cxx	2008-02-20 23:43:03 UTC (rev 16637)
+++ trunk/bzflag/src/bzfs/bzfsAPI.cxx	2008-02-24 17:22:19 UTC (rev 16638)
@@ -2283,7 +2283,7 @@
 
 //-------------------------------------------------------------------------
 
-BZF_API bool bz_IPBanUser(int playerIndex, const char *ip, int durration, const char \
*reason) +BZF_API bool bz_IPBanUser(int playerIndex, const char *ip, int duration, \
const char *reason)  {
   GameKeeper::Player *player=GameKeeper::Player::getPlayerByIndex(playerIndex);
   if(!player || !reason || !ip)
@@ -2292,7 +2292,7 @@
   // reload the banlist in case anyone else has added
   clOptions->acl.load();
 
-  if(clOptions->acl.ban(ip, player->player.getCallSign(), durration, reason))
+  if(clOptions->acl.ban(ip, player->player.getCallSign(), duration, reason))
     clOptions->acl.save();
   else
     return false;


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BZFlag-commits mailing list
BZFlag-commits@lists.SourceForge.net
https://lists.SourceForge.net/lists/listinfo/bzflag-commits
irc: #BZFlag @ irc.freenode.net


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic