Changeset 13 for trunk/SunriseChatCoreUnit.pas
- Timestamp:
- Feb 11, 2008, 2:14:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SunriseChatCoreUnit.pas
r12 r13 170 170 implementation 171 171 172 uses 173 UProtocolMessageLog; 174 172 175 procedure Register; 173 176 begin … … 279 282 Seq := StrToInt(Parse); // sequence command number 280 283 281 284 ProtocolMessageLogForm.Memo1.Lines.Add('ProcessCommand: ' + Text); 282 285 // Load source user data 283 286 if SameClientId(TargetUser.Id, LocalUser.Id) then begin … … 298 301 if Seq <> (SourceUser.Sequence + 1) then ErrorCount := ErrorCount + 1; 299 302 Sequence := Seq; 303 ProtocolMessageLogForm.Memo1.Lines.Add('ProcessCommand: UpdateUser '); 300 304 UpdateUser(SourceUser); 301 305 … … 442 446 if (Part <> Nick) and (NickTime <> 0) then AddMessage(aeUserChangeNick, nil, [Nick, Part]); 443 447 FNick := Part; 448 ProtocolMessageLogForm.Memo1.Lines.Add('ProcessCommand: UserInfo ' + FNick); 444 449 NickTime := StrToDateTime(Parse); 445 450 Color := StrToInt(Parse); … … 587 592 end; 588 593 end; 594 if Assigned(ProtocolMessageLogForm) then 595 ProtocolMessageLogForm.Memo1.Lines.Add('SendCommand: ' + Data); 589 596 if Assigned(FOnSendCommand) then FOnSendCommand(Data + #13); 590 597 end; … … 637 644 end; 638 645 639 procedure TSunriseChatCore.AddMessage(MessageEventType: TAppEventType; Room: TRoom; const Args: array of const); 646 procedure TSunriseChatCore.AddMessage(MessageEventType: TAppEventType; 647 Room: TRoom; const Args: array of const); 640 648 var 641 649 NewRoomLine: TRoomLine;
Note:
See TracChangeset
for help on using the changeset viewer.