mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
modify how reading from file works to prevent accidental overreads
This commit is contained in:
@ -65,7 +65,7 @@ namespace IW4MAdmin.Application.IO
|
||||
|
||||
previousFileSize = fileSize;
|
||||
|
||||
var events = await _reader.ReadEventsFromLog(_server, fileDiff, 0);
|
||||
var events = await _reader.ReadEventsFromLog(_server, fileDiff, fileSize - fileDiff);
|
||||
|
||||
foreach (var ev in events)
|
||||
{
|
||||
|
Reference in New Issue
Block a user