summary refs log tree commit diff stats
path: root/plugins/lua/lua.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lua/lua.c')
-rw-r--r--plugins/lua/lua.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/lua/lua.c b/plugins/lua/lua.c
index 0c2ecb91..00bedbe5 100644
--- a/plugins/lua/lua.c
+++ b/plugins/lua/lua.c
@@ -1306,6 +1306,7 @@ static script_info *create_script(char const *file)
 	info->state = L;
 	if(!L)
 	{
+		hexchat_print(ph, "\00304Could not allocate memory for the script");
 		g_free(info->filename);
 		free(info);
 		return NULL;
@@ -1493,6 +1494,7 @@ static void create_interpreter(void)
 	interp->state = L;
 	if(!L)
 	{
+		hexchat_print(ph, "\00304Could not allocate memory for the interpreter");
 		free(interp);
 		interp = NULL;
 		return;