summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTony J. White <tjw@tjw.org>2006-09-29 14:15:15 +0000
committerTony J. White <tjw@tjw.org>2006-09-29 14:15:15 +0000
commit8afbd54e92f4edf1a5b456b547b8f4acd6043698 (patch)
treeaf5bdb41c5bf5bc40e33fbeae1819ec977c3c824 /src
parentc82de6b4ac7812a75e7454009e5762af8724f848 (diff)
* !lock command without parameter was not printing usage information
Diffstat (limited to 'src')
-rw-r--r--src/game/g_admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_admin.c b/src/game/g_admin.c
index efcdad97..851d3491 100644
--- a/src/game/g_admin.c
+++ b/src/game/g_admin.c
@@ -2616,7 +2616,7 @@ qboolean G_admin_lock( gentity_t *ent, int skiparg )
char teamName[2] = {""};
pTeam_t team;
- if( G_SayArgc() < 1 + skiparg )
+ if( G_SayArgc() < 2 + skiparg )
{
ADMP( "^3!lock: ^7usage: !lock [a|h]\n" );
return qfalse;