sas             Fri Jan 12 06:51:13 2001 EDT

  Modified files:              
    /php4/ext/ircg      ircg.c 
  Log:
  Add a format string which allows us to implement a transaction-like
  JS interface for large joins (many changes, one commit).
  
  
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.17 php4/ext/ircg/ircg.c:1.18
--- php4/ext/ircg/ircg.c:1.17   Fri Jan 12 06:27:27 2001
+++ php4/ext/ircg/ircg.c        Fri Jan 12 06:51:12 2001
@@ -45,6 +45,7 @@
        FMT_MSG_TOPIC,
        FMT_MSG_ERROR,
        FMT_MSG_FATAL_ERROR,
+       FMT_MSG_JOIN_LIST_END,
        NO_FMTS
 };
 
@@ -86,7 +87,8 @@
        "%t was kicked by %f from %c (%m)<br />",
        "%f changes topic on %c to %m<br />",
        "Error: %m<br />",
-       "Fatal Error: %m<br />"
+       "Fatal Error: %m<br />",
+       ""
 };
 
 #define MSG(conn, type) \
@@ -383,6 +385,11 @@
                                "", &m);
                msg_send(conn, &m);
        }
+
+       m.len = 0;
+       format_msg(MSG(conn, FMT_MSG_JOIN_LIST_END), channel, NULL, NULL,
+                       "", &m);
+       msg_send(conn, &m);
 }
 
 static void new_topic(irconn_t *ircc, const char *channel, smart_str *who, smart_str 
*topic, void *dummy)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to