From 7526f805eaa093447c16eafa230511f54de63306 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 11 Jan 2018 05:22:18 +0000
Subject: [PATCH] Fix ReferenceError: BLINK is not defined when running as
 timed event from SBBS. I'm not sure why this works fine from JSexec without
 this change. Weird.

---
 exec/load/avatar_lib.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/exec/load/avatar_lib.js b/exec/load/avatar_lib.js
index 03529030f9..0ef7de9988 100644
--- a/exec/load/avatar_lib.js
+++ b/exec/load/avatar_lib.js
@@ -26,6 +26,7 @@ function netuser_fname(netaddr)
 
 function is_valid(buf)
 {
+	load("cga_defs.js");
 	if(!buf || !buf.length || buf.length != this.size)
 		return false;
 	var invalid = buf.split('').filter(function (e,i) { 
-- 
GitLab