Fixed missing return in PTRC commands, now they work properly.

This commit is contained in:
Paradox460 committed 2008-05-17 02:55:38 +00:00
1 parent 1682483850
commit 756cb142f2
1 file changed
+2
+2
View File
@@ -4248,6 +4248,7 @@ void Cmd_PTRCVerify_f( gentity_t *ent )
trap_SendServerCommand( ent - g_entities,
"print \"This PTR code is already in use\n\"" );
G_AdminsPrintf("%s^7 attempted to use %s^7's PTR code\n", ent->client->pers.netname, players->client->pers.netname);
return;
}
}
@@ -4314,6 +4315,7 @@ void Cmd_PTRCRestore_f( gentity_t *ent )
trap_SendServerCommand( ent - g_entities,
"print \"This PTR code is already in use\n\"" );
G_AdminsPrintf("%s^7 attempted to use %s^7's PTR code\n", ent->client->pers.netname, players->client->pers.netname);
return;
}
}