1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 00:13:13 +02:00

Use Config::GetClient for looking up services for command{} blocks which lessens the insanity of renaming services

This commit is contained in:
Adam
2013-11-01 02:07:35 -04:00
parent ac2f8bf64d
commit c710625cd3
10 changed files with 10 additions and 28 deletions
+1 -1
View File
@@ -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;