Commit b38ca9db7eceb0cbe6732464eb3caad599be0257
1 parent
2833225fe1
Exists in
master
fix broadcast arguments
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
index.js
... | ... | @@ -16,7 +16,7 @@ var db = require('./db.js'); |
16 | 16 | db_connection = db.start(config.db.host, config.db.username, config.db.password, config.db.name, logger); |
17 | 17 | |
18 | 18 | function absen() { |
19 | - broadcast(config.yahoomessenger.report_message, config.yahoomessenger.report_to); | |
19 | + broadcast(config.yahoomessenger.report_to, config.yahoomessenger.report_message); | |
20 | 20 | } |
21 | 21 | |
22 | 22 | function broadcast(destinations, message) { |