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

strip (IRC) suffix from tabcomplete entries
This commit is contained in:
Matthew Hodgson 2016-08-15 23:24:33 +01:00 committed by GitHub
commit bdfc7d069d

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';
}