Subject: | Error in topic $mess reference |
The error occurs in the case when the chanel's topic contains '#'.
for Example in script we have
sub topic {
my $self = shift;
my $e = shift;
dbwrite($e->{channel}, "", 'Topic for ' . $e->{channel} . ' is
now ' . $e->{topic});
return undef;
}
and chanel topic is http://forum.newtown.ru/showthread.php?
p=767896#post767896
then in db
| 2358190 | #newtown http://forum.newtown. | 2010-08-29 | |
1283098861 | Topic for #newtown http://forum.newtown.ru/showthread.php?
p=767896#post767896 is now |
i.e. $e->{channel} is 'http://forum.newtown.ru/showthread.php?
p=767896#post767896'
$e->{topic} is ''
This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
Linux mainserver 2.6.26-2-686 #1 SMP Mon Jun 21 05:58:44 UTC 2010 i686
GNU/Linux