From c07ea102c7a25595003b9520a1d73150f4e90996 Mon Sep 17 00:00:00 2001 From: promostarr Date: Mon, 17 Apr 2017 14:08:44 +0100 Subject: [PATCH] Missing = oops --- .idea/workspace.xml | 32 +++++++++++++++----------------- Janitor.rb | 2 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 30507c1..8d73536 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,10 +2,8 @@ - - - @@ -150,7 +148,7 @@ - + @@ -197,14 +195,6 @@ - - - - - - - - @@ -213,10 +203,18 @@ + + + + + + + + - - + + diff --git a/Janitor.rb b/Janitor.rb index e8d913d..67d526a 100644 --- a/Janitor.rb +++ b/Janitor.rb @@ -19,7 +19,7 @@ class Janitor def listen(global) ts = login() - if global = true + if global == true return ts.command('servernotifyregister', event: 'textserver')[0]['msg'] else return ts.command('servernotifyregister', event: 'textchannel', id: 218 )[0]['msg']