]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Small fixes for IRC.
authornitroxis <nitroxis@wtwrp.de>
Fri, 10 Jan 2014 19:47:29 +0000 (20:47 +0100)
committernitroxis <nitroxis@wtwrp.de>
Fri, 10 Jan 2014 19:47:29 +0000 (20:47 +0100)
console.c
console.h
host.c
makefile.inc

index 1bf3790afefd64fd248525d5b98eca66c7396df9..7d260cc2f514f5ecea2259399a35fffcfc4370e3 100644 (file)
--- 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)
        {
index 860c501eebfe3b89a0901842426e89ef72326915..95c679e0f20722817771c0e5894f12a65cbdf44a 100644 (file)
--- 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 a7af4c0fb95b23a4375e597b88dfa25974a1d868..68b79c5f5aeaa27a5cd9dcbb1dee41487bab3a1c 100644 (file)
--- 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"
 
 /*
 
index e215245af0532d523886f6f87fd0008980dbae55..02c9051c156b177d760b4b725b861e82863a2c3a 100644 (file)
@@ -115,6 +115,7 @@ OBJ_COMMON= \
        host_cmd.o \
        image.o \
        image_png.o \
+       irc.o \
        jpeg.o \
        keys.o \
        lhnet.o \