Hi,
I don't know if this is a bug, something I don't understand or something I've
missed but this is what I've got:
When running a script with the correct function call
$server->query_create($server->{tag},$nick,0); I get an error
Usage: Irssi::Irc::Server::query_create(server_tag, nick, automatic) at (eval
95535) line 175.
Changing the function call to
$server->query_create($nick,$server->{tag}); the call works with a new
querywindow being created but
not connected to any network:
Irssi: Starting query in Irssi::Irc::Server=HASH(0x83189cc) with XS4-687
where Irssi::Irc::Server=HASH(0x83189cc) should be the string "EFNet",
as shown below.
print CLIENTCRAP "$server->{tag}, $nick"; shows
EFNet, XS4-687
which is as it should be.
I'm at my wits end here and I hope somebody will be able to tell me where I'm
going wrong.
I'm using:
irssi-0.8.11 with
ldd /usr/bin/irssi
linux-gate.so.1 => (0xffffe000)
libperl.so.1 => /usr/lib/libperl.so.1 (0xb7e5c000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7e49000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7e34000)
libm.so.6 => /lib/libm.so.6 (0xb7e0f000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7de0000)
libutil.so.1 => /lib/libutil.so.1 (0xb7ddc000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7dd9000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7d46000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7d15000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7c10000)
libdl.so.2 => /lib/libdl.so.2 (0xb7c0b000)
libncurses.so.5 => /lib/libncurses.so.5 (0xb7bca000)
libc.so.6 => /lib/libc.so.6 (0xb7aac000)
/lib/ld-linux.so.2 (0xb7f6e000)
and
perl -v
This is perl, v5.8.8 built for i686-linux
BR.
Jari, [EMAIL PROTECTED]