| 2131 | } |
| 2132 | |
| 2133 | bool Core::RemoveAlias(const std::string &name) |
| 2134 | { |
| 2135 | std::lock_guard<std::recursive_mutex> lock(alias_mutex); |
| 2136 | if (IsAlias(name)) |
| 2137 | { |
| 2138 | aliases.erase(name); |
| 2139 | return true; |
| 2140 | } |
| 2141 | return false; |
| 2142 | } |
| 2143 | |
| 2144 | bool Core::IsAlias(const std::string &name) |
| 2145 | { |