aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wee_slack.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 01b3fad..e36f59f 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -433,10 +433,7 @@ class EventRouter(object):
weechat's "callback_data" has a limited size and weechat will crash if you exceed
this size.
"""
- data = self.context.get(identifier)
- if data:
- # dbg("retrieved context {} ".format(identifier))
- return data
+ return self.context.get(identifier)
def delete_context(self, identifier):
"""