| … | … | @@ -125,7 +125,8 @@ HandleSeq CogServerNode::getMessages() const |
| 125 | 125 | HandleSeq m({ |
| 126 | 126 | Predicate("*-start-*"), |
| 127 | 127 | Predicate("*-stop-*"), |
| 128 | | Predicate("*-run-*") |
| 128 | Predicate("*-run-*"), |
| 129 | Predicate("*-is-running?-*") |
| 129 | 130 | }); |
| 130 | 131 | // Mark each message predicate as a message, once at load time. |
| 131 | 132 | for (const Handle& h : m) |
| … | … | @@ -145,7 +146,8 @@ bool CogServerNode::usesMessage(const Handle& key) const |
| 145 | 146 | static const std::unordered_set<uint32_t> msgset({ |
| 146 | 147 | dispatch_hash("*-start-*"), |
| 147 | 148 | dispatch_hash("*-stop-*"), |
| 148 | | dispatch_hash("*-run-*") |
| 149 | dispatch_hash("*-run-*"), |
| 150 | dispatch_hash("*-is-running?-*") |
| 149 | 151 | }); |
| 150 | 152 | |
| 151 | 153 | if (PREDICATE_NODE != key->get_type()) return false; |