aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 4f47e3e..d937a5d 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -46,13 +46,11 @@ def command_back(args):
def command_neveraway(args):
global never_away
if never_away == True:
- global never_away
never_away = False
w.prnt("", "unset never_away")
else:
- global never_away
never_away = True
- w.prnt("", "set never_away")
+ w.prnt("", "set as never_away")
def command_printvar(args):
w.prnt("", str(eval(args)))