]> git.donarmstrong.com Git - infobot.git/commitdiff
more on a line
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 7 Dec 2002 06:43:04 +0000 (06:43 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Sat, 7 Dec 2002 06:43:04 +0000 (06:43 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@742 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/UserDCC.pl

index f91e1b1bd432accff41d41a0e53b11868b87acd4..91e2f03c4b143520f4e524337d73b811669722c5 100644 (file)
@@ -576,14 +576,14 @@ sub userDCC {
                my $str = "";
                foreach (sort keys %{ $chanconf{$chan} }) {
                    my $newstr = join(', ', @items);
-                   if (length $newstr > 60) {
-                       &pSReply("    $str");
+                   if (length $newstr > 63) {
+                       &pSReply(" $str");
                        @items = ();
                    }
                    $str = $newstr;
                    push(@items, "$_ => $chanconf{$chan}{$_}");
                }
-               &pSReply("    $str") if (@items);
+               &pSReply(" $str") if (@items);
            }
            return;
        }