Skip to content

Commit d70de15

Browse files
committed
get_next_tag fix
1 parent 208228e commit d70de15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lovely/misc.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ pattern = '''add_tag(_tag.config.ref_table)'''
258258
position = "at"
259259
payload = '''
260260
local tag = Cryptid.get_next_tag()
261-
add_tag(tag or _tag.config.ref_table, true)
261+
add_tag(tag and Tag(tag) or _tag.config.ref_table, true)
262262
'''
263263
match_indent = true
264264

0 commit comments

Comments
 (0)