summary refs log tree commit diff
path: root/contexts.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-07-12 19:22:04 -0400
committerJune McEnroe <june@causal.agency>2020-07-12 19:22:04 -0400
commitaa619626bcab0c4c13266702d1f53a72b24b22f7 (patch)
tree4e46eaf75efc1de8edd1bb4ff23e3d25fb9c52e7 /contexts.c
parentDon't use KHTML_PRETTY (diff)
downloadscooper-aa619626bcab0c4c13266702d1f53a72b24b22f7.tar.gz
scooper-aa619626bcab0c4c13266702d1f53a72b24b22f7.zip
Render all types of events
Diffstat (limited to 'contexts.c')
-rw-r--r--contexts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contexts.c b/contexts.c
index be48628..69afcdc 100644
--- a/contexts.c
+++ b/contexts.c
@@ -134,7 +134,7 @@ enum kcgi_err contextsPage(struct kreq *req) {
 			|| khtml_puts(&html, "MOTD")
 			|| khtml_closeelem(&html, 1)
 			|| khtml_elem(&html, KELEM_PRE)
-			|| khtml_puts(&html, sqlite3_column_text(stmt.motd, 0))
+			|| htmlIRC(&html, sqlite3_column_text(stmt.motd, 0))
 			|| khtml_closeelem(&html, 1);
 		if (error) return error;
 		result = sqlite3_step(stmt.motd);