Merge pull request #417 from aviraldg/fix-574-again

strip (IRC) suffix from tabcomplete entries
pull/21833/head
Matthew Hodgson 2016-08-15 23:24:33 +01:00 committed by GitHub
commit bdfc7d069d
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ CommandEntry.fromCommands = function(commandArray) {
class MemberEntry extends Entry {
constructor(member) {
super(member.name || member.userId);
super((member.name || member.userId).replace(' (IRC)', ''));
this.member = member;
this.kind = 'member';
}