Fix naughty
I removed textbox' check() function, but forgot to see if anything actually calls it. Just removing the call fixes all problems here. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
6494540b0c
commit
ec72ee1b43
|
@ -358,7 +358,6 @@ function notify(args)
|
||||||
|
|
||||||
local function setText(pattern, replacements)
|
local function setText(pattern, replacements)
|
||||||
textbox:set_markup(string.format('<span font_desc="%s"><b>%s</b>%s</span>', font, title, text:gsub(pattern, replacements)))
|
textbox:set_markup(string.format('<span font_desc="%s"><b>%s</b>%s</span>', font, title, text:gsub(pattern, replacements)))
|
||||||
textbox:check()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- First try to set the text while only interpreting <br>.
|
-- First try to set the text while only interpreting <br>.
|
||||||
|
|
Loading…
Reference in New Issue