1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 18:06:39 +02:00

Fix a crash when FindFromService can not find a command.

Closes #583.
This commit is contained in:
Sadie Powell
2026-06-12 19:23:05 +01:00
parent 17cd10ef21
commit a03e765172
+1 -1
View File
@@ -402,5 +402,5 @@ bool Command::FindFromService(const Anope::string &command_service, BotInfo *&bo
}
}
return name.empty();
return !name.empty();
}