From 7bf0c92c380f68d83d73a0bd4e5d776c3ac67906 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Tue, 7 Nov 2000 11:47:41 +0000
Subject: [PATCH] Fixed passing of const char* to guruchat.

---
 src/sbbs3/chat.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/chat.cpp b/src/sbbs3/chat.cpp
index 9cb05c2b0d..f2f066fea5 100644
--- a/src/sbbs3/chat.cpp
+++ b/src/sbbs3/chat.cpp
@@ -1718,7 +1718,8 @@ void sbbs_t::localguru(char *gurubuf, int gurunum)
 	thisnode.aux=gurunum;
 	putnodedat(cfg.node_num,&thisnode);
 	attr(cfg.color[clr_chatlocal]);
-	guruchat("HELLO",gurubuf,gurunum);
+	strcpy(str,"HELLO");
+	guruchat(str,gurubuf,gurunum);
 	while(online && (sys_status&SS_GURUCHAT)) {
 		checkline();
 		action=NODE_GCHT;
-- 
GitLab