controlpanel: Add missing return to ListNetMods

Close #1589
This commit is contained in:
Chris Tyrrel
2018-07-30 17:55:15 -06:00
committed by Alexey Sokolov
parent 18871dab8d
commit 327969cc55

View File

@@ -1542,6 +1542,7 @@ class CAdminMod : public CModule {
if (pNetwork->GetModules().empty()) {
PutModule(t_f("Network {1} of user {2} has no modules loaded.")(
pNetwork->GetName(), pUser->GetUserName()));
return;
}
PutModule(t_f("Modules loaded for network {1} of user {2}:")(