Changeset 3474
- Timestamp:
- 12/19/06 23:15:00 (2 years ago)
- Files:
-
- trunk/Plug-Ins/Standard Commands/JVStandardCommands.m (modified) (1 diff)
- trunk/Resources/roomTopicBanner.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Plug-Ins/Standard Commands/JVStandardCommands.m
r3418 r3474 83 83 } else if( ! [command caseInsensitiveCompare:@"topic"] || ! [command caseInsensitiveCompare:@"t"] ) { 84 84 if( ! [arguments length] && [connection type] == MVChatConnectionIRCType ) { 85 // request the current topic, this is handy if you connect with a proxy that doesn't forward the current topic 86 [connection sendRawMessage:[NSString stringWithFormat:@"TOPIC %@", [[room target] name]]]; 85 [[[room display] windowScriptObject] callWebScriptMethod:@"toggleTopic" withArguments:nil]; 87 86 return YES; 88 87 } else if( [arguments length] ) { trunk/Resources/roomTopicBanner.js
r3454 r3474 3 3 4 4 function toggleTopic( e ) { 5 if( e .altKey ) {5 if( e && e.altKey ) { 6 6 topicSize++; 7 7 if( topicSize > 3 ) topicSize = 0;
