1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Remove obsolete TODO in be.bastelstu.Chat.litcoffee

This commit is contained in:
Tim Düsterhus 2013-09-08 14:54:58 +02:00
parent 69a0597984
commit 017487bbe8

View File

@ -192,7 +192,6 @@ The the word the caret is in will be passed to `autocomplete` and replaced if a
if beforeComplete is '' and (toComplete.substring 0, 1) is '/'
regex = new RegExp "^#{WCF.String.escapeRegExp toComplete.substring 1}", "i"
# TODO: Proper command list
commands = (command for command in v.config.installedCommands when regex.test command)
toComplete = '/' + commands[autocomplete.offset++ % commands.length] + ' ' if commands.length isnt 0