mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 19:48:23 +02:00
* Code cleanup; minor
This commit is contained in:
parent
f587b228bc
commit
80460ea050
3 changed files with 29 additions and 21 deletions
|
@ -56,6 +56,7 @@ function changeMessageArea(client, areaName, cb) {
|
|||
],
|
||||
function complete(err, area) {
|
||||
if(!err) {
|
||||
console.log(JSON.stringify(area))
|
||||
client.log.info( area, 'Current message area changed');
|
||||
} else {
|
||||
client.log.warn( { area : area, error : err.message }, 'Could not change message area');
|
||||
|
@ -71,6 +72,8 @@ function getMessageListForArea(options, areaName, cb) {
|
|||
// options.client (required)
|
||||
//
|
||||
|
||||
options.client.log.debug( { areaName : areaName }, 'Fetching available messages');
|
||||
|
||||
assert(_.isObject(options.client));
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue