mirror of
https://github.com/jech/galene.git
synced 2024-11-26 10:35:59 +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;
|
continue;
|
||||||
cs.push(`/${cmd}${c.parameters?' ' + c.parameters:''}: ${c.description}`);
|
cs.push(`/${cmd}${c.parameters?' ' + c.parameters:''}: ${c.description}`);
|
||||||
}
|
}
|
||||||
cs.sort();
|
localMessage(cs.sort().join('\n'));
|
||||||
let s = '';
|
|
||||||
for(let i = 0; i < cs.length; i++)
|
|
||||||
s = s + cs[i] + '\n';
|
|
||||||
localMessage(s);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue