Changeset 3744

Show
Ignore:
Timestamp:
10/01/07 04:53:15 (10 months ago)
Author:
akempgen
Message:

makes //amsg, //broadcast, //ame and //bract use the correct local user for each connection instead of using the same for all

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Plug-Ins/Standard Commands/JVStandardCommands.m

    r3595 r3744  
    607607 
    608608        while( ( room = [enumerator nextObject] ) ) { 
    609                 JVMutableChatMessage *cmessage = [JVMutableChatMessage messageWithText:message sender:[connection localUser]]; 
     609                JVMutableChatMessage *cmessage = [JVMutableChatMessage messageWithText:message sender:[[room connection] localUser]]; 
    610610                [cmessage setAction:action]; 
    611611                [room sendMessage:cmessage];