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:
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user