Merge branch 'daffyyyy:main' into main

This commit is contained in:
cristóbal 2024-03-23 22:46:59 -03:00 • committed by GitHub
commit 1102b6573f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 147 additions and 105 deletions

View file

@ -33,7 +33,12 @@ namespace CS2_SimpleAdmin
commandSql.CommandText = commandText;
await commandSql.ExecuteNonQueryAsync();
command.ReplyToCommand("Successfully updated the database");
commandText = "ALTER TABLE `sa_servers` MODIFY COLUMN `hostname` varchar(128);";
using var commandSql1 = connection.CreateCommand();
commandSql1.CommandText = commandText;
await commandSql1.ExecuteNonQueryAsync();
command.ReplyToCommand($"Successfully updated the database - {ModuleVersion}");
}
catch (Exception ex)
{