Skip to content

Commit

Permalink
Finetune comment
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelortmann committed Jul 20, 2024
1 parent c984be6 commit 4a4fea3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/botcmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,10 @@ static void remote_tell_who(int idx, char *nick, int chan)
strncat(s, c->dname, ssize);

/* check if we need to trunc, normally only for first chans on the line.
* CHANNELLEN is 80, so we likely won't ever hit this *now*, but if we
* ever change that for some reason (twitch? ircv3 stuff?) this is still
* a good check to have, 'just in case'
* CHANNELLEN is 200 and channel names rarely exceed 50 chars, so we
* likely won't ever hit this *now*, but if we ever change that for some
* reason (twitch? ircv3 stuff?) this is still a good check to have,
* 'just in case'
*/
if (i > ssize) {
unsigned int trunc = 4;
Expand Down

0 comments on commit 4a4fea3

Please sign in to comment.