From 0770358394a84852f5105c69292d951c24be0ad2 Mon Sep 17 00:00:00 2001 From: Kevin Easton Date: Tue, 24 Nov 2009 12:06:54 +0000 Subject: [PATCH] Correct misuse of RETURN_STR macro in function_gettmatch. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@81 13b04d17-f746-0410-82c6-800466cd88b0 --- source/array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/array.c b/source/array.c index 0ae6aeb..80c7069 100644 --- a/source/array.c +++ b/source/array.c @@ -982,7 +982,7 @@ char *ret = NULL; } } - RETURN_STR(ret ? ret : empty_string); + RETURN_STR(ret); } BUILT_IN_FUNCTION(function_igetrmatches)