Ensure multiline message after line_treat are collapsed to one line
This commit is contained in:
parent
acded35e1a
commit
cdaad47b13
2 changed files with 2 additions and 1 deletions
|
@ -80,6 +80,7 @@ def cmd_mediawiki(msg):
|
|||
raise IRCException("indicate a domain and a term to search")
|
||||
|
||||
return Response(get_page(msg.cmds[1], " ".join(msg.cmds[2:])),
|
||||
line_treat=lambda line: irc_format(parse_wikitext(msg.cmds[1], line)),
|
||||
channel=msg.receivers)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue