summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2022-11-25 22:04:07 +0000
committerLuke Bratch <luke@bratch.co.uk>2022-11-25 22:04:07 +0000
commit2639271eaab1990e0fb5832cb8bfbcdaf0e33022 (patch)
tree98c7e333ea6bb845200599c98ec83bb1064458b7
parentae1390b2bef4dc6a1a113cddaee37d745b559b1f (diff)
Fix broken debugprint() call in isnickinanychannel() which was referencing a non-existent printf string.
-rw-r--r--TODO2
-rw-r--r--functions.c2
2 files changed, 3 insertions, 1 deletions
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;
}