cvs: embed /php-irssi channel.c

[email protected] ("Wez Furlong") Sun, 02 Feb 2003 18:26:53 -0000
Newsgroups php.embed.cvs
Message-ID <cvswez1044210413@cvsserver>
wez		Sun Feb  2 13:26:53 2003 EDT

  Modified files:              
    /embed/php-irssi	channel.c 
  Log:
  Ensure that messages to the channel appear in the client.
  
  
Index: embed/php-irssi/channel.c
diff -u embed/php-irssi/channel.c:1.3 embed/php-irssi/channel.c:1.4
--- embed/php-irssi/channel.c:1.3	Sat Feb  1 22:27:16 2003
+++ embed/php-irssi/channel.c	Sun Feb  2 13:26:52 2003
@@ -14,7 +14,7 @@
   +----------------------------------------------------------------------+
   | Author: Wez Furlong <[email protected]>                                    |
   +----------------------------------------------------------------------+
-  $Id: channel.c,v 1.3 2003/02/02 03:27:16 wez Exp $
+  $Id: channel.c,v 1.4 2003/02/02 18:26:52 wez Exp $
 */
 #include "php-irssi.h"
 #define PHP_IRSSI_PROTOS_ONLY
@@ -126,6 +126,7 @@
 
 	(channel->server->send_message)(channel->server, channel->name, msg, SEND_TARGET_CHANNEL);
 	
+	signal_emit("message own_public", 4, channel->server, msg, channel->name, channel->name);
 }
 
 function_entry php_irssi_CHANNEL_funcs[] = {