aboutsummaryrefslogtreecommitdiffstats
path: root/slack/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/util.py')
-rw-r--r--slack/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/slack/util.py b/slack/util.py
index acbe5cf..4f9e5dd 100644
--- a/slack/util.py
+++ b/slack/util.py
@@ -1,8 +1,8 @@
from typing import Any, Callable
-from . import globals as G
+from .shared import shared
def get_callback_name(callback: Callable[..., Any]) -> str:
- G.weechat_callbacks[callback.__name__] = callback
+ shared.weechat_callbacks[callback.__name__] = callback
return callback.__name__