Commit f9da2fd9ca18fe770a2af651e9befbfa554276bb

Authored by Adhidarma Hadiwinoto
1 parent c15d69c5ad
Exists in master

remove absen

Showing 1 changed file with 1 additions and 5 deletions Side-by-side Diff

... ... @@ -24,10 +24,6 @@ function isAdmin(user) {
24 24 return (admins.indexOf(user) >= 0);
25 25 }
26 26  
27   -function absen() {
28   - broadcast(config.yahoomessenger.report_to, config.yahoomessenger.report_message);
29   -}
30   -
31 27 function broadcast(destinations, message) {
32 28 var destinations = destinations.split(',');
33 29 var destinationCount = destinations.length;
... ... @@ -86,7 +82,7 @@ YahooMessenger.on('loginSuccessful', function onLoginSuccessful(data){
86 82 YahooMessenger.setCustomAwayStatus(config.yahoomessenger.status);
87 83 };
88 84  
89   - absen();
  85 + broadcast(config.yahoomessenger.report_to, config.yahoomessenger.report_message);
90 86  
91 87 keepAliveLoop();
92 88 });