controlpanel: Add missing return to ListNetMods

Close #1589
This commit is contained in:
Chris Tyrrel authored and Alexey Sokolov committed 2018-08-08 00:00:55 +01:00
1 parent 18871dab8d
commit 327969cc55
1 file changed
+1
+1
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}:")(