summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp
index f3931571f..0d43db81d 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -433,7 +433,7 @@ Conf::Conf() : Block("")
ValidateNotEmpty("command", "name", nname);
ValidateNotEmpty("command", "command", cmd);
- BotInfo *bi = BotInfo::Find(service, true);
+ BotInfo *bi = this->GetClient(service);
if (!bi)
continue;