aboutsummaryrefslogtreecommitdiff
path: root/src/clientprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientprotocol.cpp')
-rw-r--r--src/clientprotocol.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clientprotocol.cpp b/src/clientprotocol.cpp
index 519c6b21b..de3516707 100644
--- a/src/clientprotocol.cpp
+++ b/src/clientprotocol.cpp
@@ -175,3 +175,9 @@ void ClientProtocol::Event::GetMessagesForUser(LocalUser* user, MessageList& mes
if (res == MOD_RES_DENY)
messagelist.clear();
}
+
+void ClientProtocol::Event::PostSendMessagesToUser(LocalUser* user, const MessageList& messagelist)
+{
+ if (this->event)
+ this->event->Call(&EventHook::OnPostEventSend, user, *this, messagelist);
+}