For some reason it looks like znc 1.7 has some new strings.
--- buffextras-git.py 2018-06-13 13:58:12.230499284 -0700
+++ buffextras.py 2018-06-13 13:50:49.209903084 -0700
@@ -44,26 +44,32 @@
# :nick!ident@host joined
send("Join", nick, channel, userhost)
elif _type == 'parted':
if args.startswith('with message: ['):
# :nick!ident@host parted with message: [bla bla]
send("Part with Reason", nick, userhost, channel,
args[15:-1])
else:
# :nick!ident@host parted
send("Part", nick, userhost, channel)
+ elif _type == 'parted:':
+ # nick!ident@host parted:
+ send("Part", nick, userhost, channel)
elif _type == 'is':
# :nick!ident@host is now known as new_nick
send("Change Nick", nick, args[13:])
elif _type == 'quit':
# :nick!ident@host quit with message: [Quit: Leaving.]
send("Quit", nick, args[15:-1], userhost)
+ elif _type == 'quit:':
+ # nick!ident@host quit: Remote host closed the connection
+ send("Quit", nick, args, userhost)
elif _type == 'kicked':
send("Kick", nick, word[5], channel,
word_eol[6][9:-1])
elif _type == 'changed':
send("Topic Change", nick, args[14:], channel)
else:
send("Server Error", "Unhandled *buffextras event:")
send("Server Error",
" {}".format(word_eol[3][1:]))
return hexchat.EAT_ALL