From c1f971d2d997a2664229fdb02c5c72b460084acd Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 20 Jan 2018 19:30:21 -0700 Subject: [PATCH] Code readability --- core/bbs_list.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/bbs_list.js b/core/bbs_list.js index 5c81f478..74c792c6 100644 --- a/core/bbs_list.js +++ b/core/bbs_list.js @@ -150,7 +150,10 @@ exports.getModule = class BBSListModule extends MenuModule { self.database.run( `INSERT INTO bbs_list (bbs_name, sysop, telnet, www, location, software, submitter_user_id, notes) VALUES(?, ?, ?, ?, ?, ?, ?, ?);`, - [ formData.value.name, formData.value.sysop, formData.value.telnet, formData.value.www, formData.value.location, formData.value.software, self.client.user.userId, formData.value.notes ], + [ + formData.value.name, formData.value.sysop, formData.value.telnet, formData.value.www, + formData.value.location, formData.value.software, self.client.user.userId, formData.value.notes + ], err => { if(err) { self.client.log.error( { err : err }, 'Error adding to BBS list');