Auto snoop option in .INI

This commit is contained in:
mysticbbs 2012-09-23 02:25:53 -04:00
parent d06397195c
commit 3752038700
1 changed files with 6 additions and 0 deletions

View File

@ -126,6 +126,12 @@ Begin
Screen := TOutput.Create(True); Screen := TOutput.Create(True);
Keyboard := TInput.Create; Keyboard := TInput.Create;
INI := TIniReader.Create('nodespy.ini');
AutoSnoop := INI.ReadString('General', 'autosnoop', '0') = '1';
INI.Free;
Assign (ConfigFile, 'mystic.dat'); Assign (ConfigFile, 'mystic.dat');
Reset (ConfigFile); Reset (ConfigFile);