From 2639271eaab1990e0fb5832cb8bfbcdaf0e33022 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Fri, 25 Nov 2022 22:04:07 +0000 Subject: Fix broken debugprint() call in isnickinanychannel() which was referencing a non-existent printf string. --- TODO | 2 ++ functions.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 8d254bd..6b83957 100644 --- a/TODO +++ b/TODO @@ -41,4 +41,6 @@ Sending ^D when running with ./blabouncer -f does crazy stuff. Connecting from irssi triggers doautoreplay() from "USER received" in message.c twice. +Use the line number based replay log reading method from lastspoke rather than the inefficient re-read + line offset method in time replays? (And potentially remove a bunch of code re-use.) + Crash when requesting 30 hour replay. diff --git a/functions.c b/functions.c index 6f8d131..fcb1799 100644 --- a/functions.c +++ b/functions.c @@ -1474,7 +1474,7 @@ int isnickinanychannel(struct channel *channels, int maxchannelcount, char *nick } } - debugprint(DEBUG_FULL, "isnickinanychannel(): nick '%s' not found in any channel '%s', returning 0.\n", nick); + debugprint(DEBUG_FULL, "isnickinanychannel(): nick '%s' not found in any channel, returning 0.\n", nick); return 0; } -- cgit v1.2.3