diff options
Diffstat (limited to 'Swiftob/Swiftob.cpp')
-rw-r--r-- | Swiftob/Swiftob.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiftob/Swiftob.cpp b/Swiftob/Swiftob.cpp index 331e55e..6f36b3d 100644 --- a/Swiftob/Swiftob.cpp +++ b/Swiftob/Swiftob.cpp @@ -87,6 +87,10 @@ void Swiftob::handleMessageReceived(Swift::Message::ref message) { std::cout << "Not handling empty body" << std::endl; return; } + + /* Run through any full-message listeners */ + commands_->runListeners(message); + /*Convert body into !command if it's not a MUC, and it misses the bang*/ std::string bangBody(body); if (type != Swift::Message::Groupchat && body[0] != '!') { |