From 1bf89872175b47a5f46638a7de7449b51b769242 Mon Sep 17 00:00:00 2001 From: nitroxis Date: Fri, 10 Jan 2014 20:47:29 +0100 Subject: [PATCH] Small fixes for IRC. --- console.c | 2 +- console.h | 2 ++ host.c | 1 + makefile.inc | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/console.c b/console.c index 1bf3790a..7d260cc2 100644 --- a/console.c +++ b/console.c @@ -153,7 +153,7 @@ static char qfont_table[256] = { SanitizeString strips color tags from the string in and writes the result on string out */ -static void SanitizeString(char *in, char *out) +void SanitizeString(char *in, char *out) { while(*in) { diff --git a/console.h b/console.h index 860c501e..95c679e0 100644 --- a/console.h +++ b/console.h @@ -147,5 +147,7 @@ int ConBuffer_FindPrevLine(conbuffer_t *buf, int mask_must, int mask_mustnot, in int ConBuffer_FindNextLine(conbuffer_t *buf, int mask_must, int mask_mustnot, int start); const char *ConBuffer_GetLine(conbuffer_t *buf, int i); +void SanitizeString(char *in, char *out); + #endif diff --git a/host.c b/host.c index a7af4c0f..68b79c5f 100644 --- a/host.c +++ b/host.c @@ -33,6 +33,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "snd_main.h" #include "thread.h" #include "utf8lib.h" +#include "irc.h" /* diff --git a/makefile.inc b/makefile.inc index e215245a..02c9051c 100644 --- a/makefile.inc +++ b/makefile.inc @@ -115,6 +115,7 @@ OBJ_COMMON= \ host_cmd.o \ image.o \ image_png.o \ + irc.o \ jpeg.o \ keys.o \ lhnet.o \ -- 2.39.2