[mw-devel] [Git][arthur/mw][master] Don't throw away the value of script_output after calling handlers

Andrew Price welshbyte at sucs.org
Sat Oct 6 14:44:12 BST 2018


Andrew Price pushed to branch master at Justin Mitchell / mw


Commits:
a5d3430d by Andrew Price at 2018-10-06T14:42:50+01:00
Don't throw away the value of script_output after calling handlers

- - - - -


1 changed file:

- src/client/incoming.c


Changes:

=====================================
src/client/incoming.c
=====================================
--- a/src/client/incoming.c
+++ b/src/client/incoming.c
@@ -127,9 +127,9 @@ void DisplayStack(void)
 						.ev_type = MWEV_TYPE_MSG,
 						.ev_data.msg = new->msg,
 				};
+				script_output = 1;
 				js_handle_event(&ev);
 				event_name = NULL;
-				script_output=1;
 				while ((event_name = NextLink(event_list, event_name)) != NULL)
 				{
 					ExecEvent(event_name, new->text, "text", new->from, new->preamble);



View it on GitLab: https://projects.sucs.org/arthur/mw/commit/a5d3430dc44206b7e3c79fdfab6371ff835493f8

-- 
View it on GitLab: https://projects.sucs.org/arthur/mw/commit/a5d3430dc44206b7e3c79fdfab6371ff835493f8
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20181006/58de0fab/attachment.html>


More information about the mw-devel mailing list