Fix re-entrancy issue when a [generated] message is sent during register_event forward (bug 3664, r=joropito)

Former-commit-id: 163098892c0f0315ece9d89667782fd0ad53f3ca
This commit is contained in:
Nextra
2013-07-27 20:49:19 +02:00
parent 2f964928ff
commit e4d74f199f
4 changed files with 104 additions and 37 deletions

View File

@ -162,6 +162,9 @@ native read_data(value, any:... );
/* Returns number of values in client message. */
native read_datanum();
/* Returns message id of client message */
native read_datatype();
/* Gets log message. Can be called only in plugin_log() forward function. */
native read_logdata(output[],len);