cvs: php4(PHP_4_0_7) /ext/ircg ircg.c
| From: | Sascha Schumann | Date: | Fri, 17 Aug 2001 13:43:24 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /ext/ircg ircg.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6920@lists.php.net to get a copy of this message | ||
sas Fri Aug 17 09:43:24 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/ext/ircg ircg.c
Log:
MFH 1.105
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.104 php4/ext/ircg/ircg.c:1.104.2.1
--- php4/ext/ircg/ircg.c:1.104 Tue Aug 14 04:58:28 2001
+++ php4/ext/ircg/ircg.c Fri Aug 17 09:43:22 2001
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: ircg.c,v 1.104 2001/08/14 08:58:28 sas Exp $ */
+/* $Id: ircg.c,v 1.104.2.1 2001/08/17 13:43:22 sas Exp $ */
#include <time.h>
@@ -516,6 +516,7 @@
smart_str_append_ex(result, what, 1); \
break; \
case P_MIRC_JS: \
+ if (!what) break; \
if (!encoded) { \
ircg_mirc_color_cache(msg, \
&encoded_msg, channel, \
@@ -526,6 +527,7 @@
ircg_js_escape(&encoded_msg, result); \
break; \
case P_MIRC: \
+ if (!what) break; \
if (!encoded) { \
ircg_mirc_color_cache(msg, \
&encoded_msg, channel, \