Skip to content

Instantly share code, notes, and snippets.

@Ttech
Created July 6, 2012 22:32
Show Gist options
  • Save Ttech/3063128 to your computer and use it in GitHub Desktop.
Save Ttech/3063128 to your computer and use it in GitHub Desktop.
// Created by Codeux Software <support AT codeux DOT com> <https://github.com/codeux/Textual>
// You can redistribute it and/or modify it under the new BSD license.
#import "TPI_CMP_MenuController.h"
@implementation TXMenuController (TPI_CMP_MenuController)
- (void)postLinkToTextualHomepage:(id)sender
{
IRCClient *u = [self.world selectedClient];
if (PointerIsEmpty(u)) return;
for (IRCUser* m in [self selectedMembers:sender]) {
[[u invokeOnMainThread] sendPrivmsgToSelectedChannel:[NSString stringWithFormat:@"%@, the Textual IRC Client can be downloaded from http://www.codeux.com/textual/", m.nick]];
}
[self deselectMembers:sender];
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment