ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.22,1.23


From: Colin Leroy <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.22,1.23
Date: Wed, 29 Jan 2003 12:14:17 -0500

Update of /cvsroot/ayttm/ayttm/modules/workwizu
In directory subversions:/tmp/cvs-serv13685

Modified Files:
        workwizu.c 
Log Message:
bugfix (be a bit more precise):x



Index: workwizu.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/workwizu/workwizu.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- workwizu.c  28 Jan 2003 10:35:35 -0000      1.22
+++ workwizu.c  29 Jan 2003 17:14:13 -0000      1.23
@@ -334,7 +334,7 @@
                g_free(sfrom);
                return;
        }
-       if (to > 0)
+       if (to > CHANNEL || to < NOTDEFINED)
                eb_parse_incoming_message(ela, ea, &SERVICE_INFO, data);
        else {
                wwz_account_data *wad = (wwz_account_data 
*)ela->protocol_local_account_data;
@@ -482,10 +482,6 @@
 
 void eb_workwizu_incoming(void *data, int source, eb_input_condition condition)
 {
-/*     eb_debug(DBG_WWZ,"eb_workwizu_incoming r%d w%d e%d\n", 
-                       condition&EB_INPUT_READ, 
-                       condition&EB_INPUT_WRITE, 
-                       condition&EB_INPUT_EXCEPTION);   */
         if (!(condition&EB_INPUT_EXCEPTION)) {
                workwizu_handle_incoming(source, 
                                         condition & EB_INPUT_READ, 
@@ -892,7 +888,7 @@
                do_error_dialog(_("You aren't allowed to speak.\nThis message 
has probably not arrived."), 
                                _("Workwizu Error"));
        else {
-               send_my_packet(wad->sock, CHAT, EXCEPTME, send);
+               send_my_packet(wad->sock, CHAT, EXCEPTME, send); /*CHANNEL or 
EXCEPTME*/
                eb_chat_room_show_message(room, my_user->username, send);
        }
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]