mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Simplify /help code.
This commit is contained in:
parent
e99aa7d498
commit
5db63685a2
1 changed files with 1 additions and 5 deletions
|
@ -2455,11 +2455,7 @@ commands.help = {
|
|||
continue;
|
||||
cs.push(`/${cmd}${c.parameters?' ' + c.parameters:''}: ${c.description}`);
|
||||
}
|
||||
cs.sort();
|
||||
let s = '';
|
||||
for(let i = 0; i < cs.length; i++)
|
||||
s = s + cs[i] + '\n';
|
||||
localMessage(s);
|
||||
localMessage(cs.sort().join('\n'));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue