From c710625cd3b728acd2788eb319bd23bada798495 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 1 Nov 2013 02:07:35 -0400 Subject: Use Config::GetClient for looking up services for command{} blocks which lessens the insanity of renaming services --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit