aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2022-10-08 17:52:23 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2022-10-08 18:02:40 +0200
commit773a1e110e6e7a4cea9c1381f1247728992e138e (patch)
tree52746fae688ad8a0354c161bd9f2590db7146ee4 /wee_slack.py
parent2f4799d51a3c8b91c069a241430206574434a2ba (diff)
downloadwee-slack-773a1e110e6e7a4cea9c1381f1247728992e138e.tar.gz
Remove compatibility for irc_nick_color_name
This is only required for WeeChat < 1.5, and we require >= 2.2, so there's no point in keeping this.
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 16cddd0..ec01e28 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -410,8 +410,7 @@ def get_localvar_type(slack_type):
def get_nick_color(nick):
- info_name_prefix = "irc_" if weechat_version < 0x1050000 else ""
- return w.info_get(info_name_prefix + "nick_color_name", nick)
+ return w.info_get("nick_color_name", nick)
def get_thread_color(thread_id):