From: timriker Date: Thu, 1 Jul 2004 19:54:27 +0000 (+0000) Subject: clearer, and wrap fixes X-Git-Url: https://git.donarmstrong.com/?p=infobot.git;a=commitdiff_plain;h=fc4f9d45199c0da42170e40d445ab204018f0e98 clearer, and wrap fixes git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@980 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl index 49a9172..a593cfd 100644 --- a/src/Modules/UserDCC.pl +++ b/src/Modules/UserDCC.pl @@ -581,13 +581,17 @@ sub userDCC { &DEBUG("showing channel conf."); foreach $chan (@chans) { - &pSReply("chan: $chan (will also use _default)"); + if ($chan eq '_default') { + &pSReply("Default channel settings"); + } else { + &pSReply("chan: $chan (see _default also)"); + } my @items; my $str = ""; foreach (sort keys %{ $chanconf{$chan} }) { my $newstr = join(', ', @items); ### TODO: make length use channel line limit? - if (length $newstr > 400) { + if (length $newstr > 370) { &pSReply(" $str"); @items = (); }