From df9dc2cb77720b9b78ad87559657c14874d0b676 Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Thu, 21 Apr 2022 21:09:17 -0300 Subject: Do not allow plugins to eat Close Context These are used for clean-up and letting them be eaten may lead to plugins getting confused about which data belong to which contexts. --- src/common/plugin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/plugin.h') diff --git a/src/common/plugin.h b/src/common/plugin.h index fb7da831..051d1f5a 100644 --- a/src/common/plugin.h +++ b/src/common/plugin.h @@ -174,7 +174,7 @@ int plugin_emit_command (session *sess, char *name, char *word[], char *word_eol int plugin_emit_server (session *sess, char *name, char *word[], char *word_eol[], time_t server_time); int plugin_emit_print (session *sess, char *word[], time_t server_time); -int plugin_emit_dummy_print (session *sess, char *name); +int plugin_emit_dummy_print (session *sess, char *name, int mask); int plugin_emit_keypress (session *sess, unsigned int state, unsigned int keyval, gunichar key); GList* plugin_command_list(GList *tmp_list); int plugin_show_help (session *sess, char *cmd); -- cgit 1.4.1