1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

small code cleanups

This commit is contained in:
RaidMax
2019-07-19 14:54:39 -05:00
parent 4a013a98f8
commit 486973a2bc
8 changed files with 44 additions and 45 deletions

View File

@ -61,8 +61,7 @@ namespace SharedLibraryCore.Commands
if (Args[0][0] == '@') // user specifying target by database ID
{
int dbID = -1;
int.TryParse(Args[0].Substring(1, Args[0].Length - 1), out dbID);
int.TryParse(Args[0].Substring(1, Args[0].Length - 1), out int dbID);
var found = await Manager.GetClientService().Get(dbID);
if (found != null)