summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-11-01 02:07:35 -0400
committerAdam <Adam@anope.org>2013-11-01 02:07:35 -0400
commitc710625cd3b728acd2788eb319bd23bada798495 (patch)
tree7554545ebe6899bbede33fed3ee4c4d5da3852e9 /src/config.cpp
parentac2f8bf64d9182d0a51cdc362990315ad0a2ba9f (diff)
Use Config::GetClient for looking up services for command{} blocks which lessens the insanity of renaming services
Diffstat (limited to 'src/config.cpp')
-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;