diff options
Diffstat (limited to 'chess-engine.el')
| -rw-r--r-- | chess-engine.el | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el index 050b29d..826b9e2 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -254,7 +254,15 @@ t)) ((eq event 'illegal) - (chess-message 'opp-illegal))))) + (chess-message 'opp-illegal)) + + ((eq event 'kibitz) + (let ((chess-engine-handling-event t)) + (chess-game-run-hooks game 'kibitz (car args)))) + + ((eq event 'chat) + (let ((chess-engine-handling-event t)) + (chess-game-run-hooks game 'chat (car args))))))) (defun chess-engine-create (module game &optional response-handler &rest handler-ctor-args) |
