Fixed masshl.py missing )

This commit is contained in:
Dionysus 2023-07-09 04:09:23 -04:00
parent 86ece458d6
commit ca21b51bf2
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -24,7 +24,7 @@ def masshl_cmd_cb(data, buffer, args):
channel = weechat.buffer_get_string(buffer, 'localvar_channel') channel = weechat.buffer_get_string(buffer, 'localvar_channel')
nicklist = weechat.infolist_get('irc_nick', '', server+','+channel) nicklist = weechat.infolist_get('irc_nick', '', server+','+channel)
while weechat.infolist_next(nicklist): while weechat.infolist_next(nicklist):
nicks.append(weechat.infolist_string(nicklist, 'name') nicks.append(weechat.infolist_string(nicklist, 'name'))
weechat.infolist_free(nicklist) weechat.infolist_free(nicklist)
del server, channel, nicklist del server, channel, nicklist
nicks.pop(0) nicks.pop(0)