summary refs log tree commit diff
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-14 00:26:34 +0300
committerNakidai <nakidai@disroot.org>2026-02-14 00:26:34 +0300
commit9a7e41a123b5bbcb1bcd835f29eb5321740e77d2 (patch)
treecdc99518a29054a27851042f20427a4975bec1ce
parentde9f2ed4a211f845a0106a8799d093ca4f732696 (diff)
downloadlibreircd-9a7e41a123b5bbcb1bcd835f29eb5321740e77d2.tar.gz
libreircd-9a7e41a123b5bbcb1bcd835f29eb5321740e77d2.zip
Show topic in LIST HEAD v0.2.0 master
Well, it was an empty string because back then topics weren't done yet
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index c444ff9..9919c8e 100644
--- a/handle.c
+++ b/handle.c
@@ -140,7 +140,7 @@ list(struct Message *msg, struct Peer *peer)
 		if (!one || !strcmp(channels[i].name, msg->params[0]))
 		{
 			snprintf(count, sizeof(count), "%zu", channels[i].peers_c);
-			reply(peer, 322, channels[i].name, count, "");
+			reply(peer, 322, channels[i].name, count, channels[i].topic);
 		}
 	reply(peer, 323);