i have no idea what these commits are

This commit is contained in:
opal hart 2018-01-10 23:01:03 +00:00
parent ee68ec916a
commit 6083377a2f
3 changed files with 4 additions and 3 deletions

View File

@ -86,7 +86,7 @@ def cb_colo (data, mod, buf, input):
global nest global nest
if nest: if nest:
nest = False nest = False
return input # return input
buffer_name = weechat.buffer_get_string(buf, "name").lower() buffer_name = weechat.buffer_get_string(buf, "name").lower()
output = "" output = ""
profile = "" profile = ""

View File

@ -183,7 +183,7 @@ sub irc_part
{ {
my (undef, $server, $nick, $channel, $message) = (shift, my (undef, $server, $nick, $channel, $message) = (shift,
shift =~ /(.+),irc_raw_in_part/i, shift =~ /(.+),irc_raw_in_part/i,
shift =~ /:([^! ]*)[^ ]* part ([^ ]+) :?(.*)/i); shift =~ /:([^! ]*)[^ ]* part ([^ ]+) ?:?(.*)/i);
($server, $channel) = (lc $server, lc $channel); ($server, $channel) = (lc $server, lc $channel);
return weechat::WEECHAT_RC_OK unless exists $chans{$server}{$channel}; return weechat::WEECHAT_RC_OK unless exists $chans{$server}{$channel};

View File

@ -15,7 +15,7 @@ import re
SCRIPT_NAME = "prismx" SCRIPT_NAME = "prismx"
SCRIPT_AUTHOR = "Alex Barrett <al.barrett@gmail.com>" SCRIPT_AUTHOR = "Alex Barrett <al.barrett@gmail.com>"
SCRIPT_VERSION = "0.3.1" SCRIPT_VERSION = "0.3.2"
SCRIPT_LICENSE = "WTFPL" SCRIPT_LICENSE = "WTFPL"
SCRIPT_DESC = "Taste the rainbow." SCRIPT_DESC = "Taste the rainbow."
@ -27,6 +27,7 @@ xcolors = [
56,68,69,57,45,33,21,22,34,46,58,70,71,59,47,35,23,24,36,48,60,72,73, 56,68,69,57,45,33,21,22,34,46,58,70,71,59,47,35,23,24,36,48,60,72,73,
61,49,37,25,26,38,50,62,74,75,63,51,39,27] 61,49,37,25,26,38,50,62,74,75,63,51,39,27]
xxcolors = range(100) xxcolors = range(100)
palettes = [
# we set this later # we set this later
color_count = 0 color_count = 0