sas Thu Jul 3 02:59:43 2003 EDT Modified files: (Branch: PHP_4_3) /php-src/ext/ircg ircg.c Log: make the recipient parameter actually useful Index: php-src/ext/ircg/ircg.c diff -u php-src/ext/ircg/ircg.c:1.137.2.10 php-src/ext/ircg/ircg.c:1.137.2.11 --- php-src/ext/ircg/ircg.c:1.137.2.10 Thu Jul 3 02:29:45 2003 +++ php-src/ext/ircg/ircg.c Thu Jul 3 02:59:43 2003 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ircg.c,v 1.137.2.10 2003/07/03 06:29:45 sas Exp $ */ +/* $Id: ircg.c,v 1.137.2.11 2003/07/03 06:59:43 sas Exp $ */ /* {{{ includes */ @@ -874,7 +874,7 @@ smart_str_setl(&s_username, ircc->username, ircc->username_len); if (msg->c[0] == '\001') { - handle_ctcp(conn, chan, from, msg, &m, chan); + handle_ctcp(conn, chan, from, msg, &m, chan?chan:&s_username); } else if (chan) { FORMAT_MSG(conn, FMT_MSG_CHAN, chan, &s_username, from, msg, &m, conn->conn.username, conn->conn.username_len); } else {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php