Skip to content

Commit

Permalink
Fix everything. IRCPublicCommandIndex() had publicSearch set to NO. N…
Browse files Browse the repository at this point in the history
…eeds to be YES.
  • Loading branch information
emsquared committed Jul 20, 2012
1 parent a7a3b5b commit dca2209
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
16 changes: 14 additions & 2 deletions Classes/Preferences/TPCPreferences.m
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,24 @@ + (NSString *)IRCCommandFromIndexKey:(NSString *)key publicSearch:(BOOL)isPublic

NSString *IRCPrivateCommandIndex(const char *key)
{
return [TPCPreferences IRCCommandFromIndexKey:[NSString stringWithUTF8String:key] publicSearch:NO];
NSString *ckey = [NSString stringWithUTF8String:key];

NSString *rkey = [TPCPreferences IRCCommandFromIndexKey:ckey publicSearch:NO];

DLog(@"IRCPrivateCommandIndex(): %@; %@", ckey, rkey);

return rkey;
}

NSString *IRCPublicCommandIndex(const char *key)
{
return [TPCPreferences IRCCommandFromIndexKey:[NSString stringWithUTF8String:key] publicSearch:NO];
NSString *ckey = [NSString stringWithUTF8String:key];

NSString *rkey = [TPCPreferences IRCCommandFromIndexKey:ckey publicSearch:YES];

DLog(@"IRCPublicCommandIndex(): %@", ckey);

return rkey;
}

#pragma mark -
Expand Down
4 changes: 2 additions & 2 deletions Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<key>TXBundleBuildCodeName</key>
<string>Turtle Soup</string>
<key>TXBundleBuildNumber</key>
<string>11911</string>
<string>11917</string>
<key>TXBundleBuildReference</key>
<string>2.1.1-243-g03420f8-debug,llvm4.0</string>
<string>2.1.1-244-ga7a3b5b-debug,llvm4.0</string>
</dict>
</plist>

0 comments on commit dca2209

Please sign in to comment.