Better MCI handling

This commit is contained in:
Bryan Ashby 2018-11-17 13:24:16 -07:00
parent 8702e309ae
commit ac0f54dc9b
2 changed files with 3 additions and 2 deletions

View file

@ -95,7 +95,7 @@ const PREDEFINED_MCI_GENERATORS = {
ST : function serverName(client) { return client.session.serverName; },
FN : function activeFileBaseFilterName(client) {
const activeFilter = FileBaseFilters.getActiveFilter(client);
return activeFilter ? activeFilter.name : '';
return activeFilter ? activeFilter.name : '(Unknown)';
},
DN : function userNumDownloads(client) { return userStatAsString(client, 'dl_total_count', 0); }, // Obv/2
DK : function userByteDownload(client) { // Obv/2 uses DK=downloaded Kbytes