| 727 | } |
| 728 | |
| 729 | String CommandProcessor::serverReload(ConnectionId connectionId, String const&) { |
| 730 | if (auto errorMsg = adminCheck(connectionId, "trigger root reload")) |
| 731 | return *errorMsg; |
| 732 | |
| 733 | auto& root = Root::singleton(); |
| 734 | root.reload(); |
| 735 | root.fullyLoad(); |
| 736 | return ""; |
| 737 | } |
| 738 | |
| 739 | String CommandProcessor::eval(ConnectionId connectionId, String const& lua) { |
| 740 | if (auto errorMsg = localCheck(connectionId, "execute server script")) |