From 375203870044ab7f4060c90a4179e87729ae3f73 Mon Sep 17 00:00:00 2001 From: mysticbbs Date: Sun, 23 Sep 2012 02:25:53 -0400 Subject: [PATCH] Auto snoop option in .INI --- mystic/nodespy.pas | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mystic/nodespy.pas b/mystic/nodespy.pas index 2579a8d..5b045c2 100644 --- a/mystic/nodespy.pas +++ b/mystic/nodespy.pas @@ -126,6 +126,12 @@ Begin Screen := TOutput.Create(True); Keyboard := TInput.Create; + INI := TIniReader.Create('nodespy.ini'); + + AutoSnoop := INI.ReadString('General', 'autosnoop', '0') = '1'; + + INI.Free; + Assign (ConfigFile, 'mystic.dat'); Reset (ConfigFile);