git-svn-id: https://svn.code.sf.net/p/infobot/code/branches/don/dpkg@1290
c11ca15a-4712-0410-83d8-
924469b57eb5
#use open ':std';
$nickserv = 0;
-my $maxlinelen = 400;
+# It's probably closer to 510, but let's be cautious until we calculate it extensively.
+my $maxlinelen = 490;
sub ircloop {
my $error = 0;
$addrchar = 1;
$addressed = 1;
}
+ elsif ($message =~ s/^\Q~\E//){
+ @chans = &getNickInChans('apt');
+ if (not grep $chan, @chans){
+ $addrchar = 1;
+ $addressed = 1;
+ }
+ }
}
if ($message =~ /^($mask{nick})([\;\:\>\, ]+) */) {