aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--webcastor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webcastor.js b/webcastor.js
index d1828fc..423927f 100644
--- a/webcastor.js
+++ b/webcastor.js
@@ -147,7 +147,7 @@ var Server = {
147 }); 147 });
148 148
149 app.post('/', function(req, res) { 149 app.post('/', function(req, res) {
150 var password = req.body.password; 150 var password = req.body.password !== undefined ? req.body.password : '';
151 151
152 var channelName = Channel.create(password); 152 var channelName = Channel.create(password);
153 153