summaryrefslogtreecommitdiff
path: root/src/io
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-02-26 13:52:29 +0100
committernsensfel <SpamShield0@noot-noot.org>2018-02-26 13:52:29 +0100
commitfd4d031ab5b31763d376c663cc049f62ee389243 (patch)
treecd09a29bb888acf772fa1aee59fe95e8bd75fe4e /src/io
parent66ec11ce5d2e227846d6e6b2899cda851a70fc04 (diff)
Got it to run, at last.
Diffstat (limited to 'src/io')
-rw-r--r--src/io/timed_cache.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/timed_cache.erl b/src/io/timed_cache.erl
index 132b70f..d76a4f0 100644
--- a/src/io/timed_cache.erl
+++ b/src/io/timed_cache.erl
@@ -98,9 +98,9 @@ update (DB, Owner, ObjectID, Data) ->
[] -> ok;
[{_OwnerID, TimerPID, _Data}] ->
- gen_server:stop(TimerPID),
+ gen_server:stop(TimerPID)
end,
- add_update_to_cache(DB, Owner, ObjectID);
+ add_update_to_cache(DB, Owner, ObjectID, Data).
invalidate (DB, Owner, ObjectID) ->