Ignore:
Timestamp:
Feb 11, 2008, 2:14:42 PM (16 years ago)
Author:
george
Message:

Opraveno: Načítání seznamu síťových adaptérů na Linuxu.
Přidáno: Úpravy pro potřeby ladění problému s nepřijímáním UDP paketů.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SunriseChatCoreUnit.pas

    r12 r13  
    170170implementation
    171171
     172uses
     173  UProtocolMessageLog;
     174
    172175procedure Register;
    173176begin
     
    279282        Seq := StrToInt(Parse);       // sequence command number
    280283
    281 
     284        ProtocolMessageLogForm.Memo1.Lines.Add('ProcessCommand: ' + Text);
    282285        // Load source user data
    283286        if SameClientId(TargetUser.Id, LocalUser.Id) then begin
     
    298301        if Seq <> (SourceUser.Sequence + 1) then ErrorCount := ErrorCount + 1;
    299302        Sequence := Seq;
     303        ProtocolMessageLogForm.Memo1.Lines.Add('ProcessCommand: UpdateUser ');
    300304        UpdateUser(SourceUser);
    301305
     
    442446              if (Part <> Nick) and (NickTime <> 0) then AddMessage(aeUserChangeNick, nil, [Nick, Part]);
    443447              FNick := Part;
     448              ProtocolMessageLogForm.Memo1.Lines.Add('ProcessCommand: UserInfo ' + FNick);
    444449              NickTime := StrToDateTime(Parse);
    445450              Color := StrToInt(Parse);
     
    587592      end;
    588593    end;
     594    if Assigned(ProtocolMessageLogForm) then
     595      ProtocolMessageLogForm.Memo1.Lines.Add('SendCommand: ' + Data);
    589596    if Assigned(FOnSendCommand) then FOnSendCommand(Data + #13);
    590597  end;
     
    637644end;
    638645
    639 procedure TSunriseChatCore.AddMessage(MessageEventType: TAppEventType; Room: TRoom; const Args: array of const);
     646procedure TSunriseChatCore.AddMessage(MessageEventType: TAppEventType;
     647  Room: TRoom; const Args: array of const);
    640648var
    641649  NewRoomLine: TRoomLine;
Note: See TracChangeset for help on using the changeset viewer.