summaryrefslogtreecommitdiff
path: root/sowatchd/watchhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchd/watchhandler.cpp')
-rw-r--r--sowatchd/watchhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sowatchd/watchhandler.cpp b/sowatchd/watchhandler.cpp
index 89d3d95..bde68b4 100644
--- a/sowatchd/watchhandler.cpp
+++ b/sowatchd/watchhandler.cpp
@@ -82,7 +82,7 @@ Watchlet* WatchHandler::createWatchlet(const QString &id)
}
ConfigKey *subconfig = _config->getSubkey(id);
- Watchlet* watchlet = plugin->getWatchlet(id, subconfig, _server);
+ Watchlet* watchlet = plugin->getWatchlet(id, subconfig, _watch);
delete subconfig;
return watchlet;