good morning!!!!

Skip to content
Snippets Groups Projects
Commit 546c10ec authored by or-else's avatar or-else
Browse files

mention that plugin call must be the first

parent 1fc9699c
No related branches found
No related tags found
No related merge requests found
...@@ -466,6 +466,7 @@ func (s *Session) dispatch(msg *ClientComMessage) { ...@@ -466,6 +466,7 @@ func (s *Session) dispatch(msg *ClientComMessage) {
now := types.TimeNow() now := types.TimeNow()
atomic.StoreInt64(&s.lastAction, now.UnixNano()) atomic.StoreInt64(&s.lastAction, now.UnixNano())
// This should be the first block here, before any other checks.
var resp *ServerComMessage var resp *ServerComMessage
if msg, resp = pluginFireHose(s, msg); resp != nil { if msg, resp = pluginFireHose(s, msg); resp != nil {
// Plugin provided a response. No further processing is needed. // Plugin provided a response. No further processing is needed.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment