diff --git a/src/sbbs3/scfg/scfg.c b/src/sbbs3/scfg/scfg.c
index afef46d0234aaa8759a9f145e96f9dfb5d53b708..398da1c2e8de4fc8754ccc03551f9b7c33d6b914 100644
--- a/src/sbbs3/scfg/scfg.c
+++ b/src/sbbs3/scfg/scfg.c
@@ -2188,7 +2188,10 @@ int lprintf(int level, char *fmt, ...)
 	sbuf[sizeof(sbuf)-1]=0;
     va_end(argptr);
     strip_ctrl(sbuf,sbuf);
-    uifc.msg(sbuf);
+	if(uifc.msg == NULL)
+		puts(sbuf);
+	else
+    	uifc.msg(sbuf);
     return(0);
 }