cs2-SimpleAdmin/CS2-SimpleAdmin/Database
Ravid-A 31172f38f7 Fix mutes lost on map change; fix SQLite penalty reads
OnMapStart clears all in-memory penalties and CounterStrikeSharp resets
voice flags, so mutes, gags and silences must be reloaded on reconnect.

- LoadPlayerData only reloaded them when the player was not already in
  PlayersInfo (since eea700b, 1.7.9a). An entry that outlives the map
  change skips the reload. Gate on fullConnect again.
- On SQLite the reload always threw: INTEGER columns come back as long
  and dynamic cannot convert that to int implicitly. Same cast fixed in
  UnmutePlayer and UnbanPlayer, which failed silently (#284).
- SQLite dates are stored as UTC but were read back shifted by the
  machine's UTC offset, so restored mutes ended early or late. The
  connection now uses DateTimeKind=Utc.
2026-11-25 14:21:55 +02:00
..
Migrations Fix unban delay, admin loading, rename persistence; add css_history (1.9.0) 2026-10-03 02:33:10 +03:00
Database.cs Refactor database layer and add module/plugin improvements 2025-10-03 01:37:03 +02:00
IDatabaseProvider.cs Fix unban delay, admin loading, rename persistence; add css_history (1.9.0) 2026-10-03 02:33:10 +03:00
Migration.cs Refactor fun commands to external module 2025-10-19 03:12:58 +02:00
MysqlDatabaseProvider.cs Fix unban delay, admin loading, rename persistence; add css_history (1.9.0) 2026-10-03 02:33:10 +03:00
SqliteDatabaseProvider.cs Fix mutes lost on map change; fix SQLite penalty reads 2026-11-25 14:21:55 +02:00