-
Notifications
You must be signed in to change notification settings - Fork 372
Closed
Labels
Milestone
Description
reported by @vague666
why is ischannel not set?
irssi/src/fe-common/core/fe-log.c
Lines 382 to 386 in bc805f9
if (logitem->type == LOG_ITEM_TARGET && | |
logitem->servertag != NULL && | |
g_ascii_strcasecmp(logitem->servertag, server->tag) == 0 && | |
server_ischannel(server, logitem->name)) /* kludge again.. so we won't close dcc chats */ | |
log_close(log); |
p *server
$3 = {type = 766, chat_type = 66, refcount = 1, connrec = 0x565309d194e0, connect_time = 0,
real_connect_time = 0, tag = 0x56530a3f1930 "libera", nick = 0x56530a823250 "vague_", connected = 0,
disconnected = 1, connection_lost = 0, session_reconnect = 0, no_reconnect = 0, handle = 0x0, readtag = 0,
connect_pipe = {0x0, 0x0}, connect_tag = -1, connect_pid = 0, rawlog = 0x0, module_data = 0x5653076e56a0,
current_incoming_meta = 0x5653076e55e0, channels_join = 0x0, isnickflag = 0x0, ischannel = 0x0,
get_nick_flags = 0x0, send_message = 0x0, split_message = 0x0,
version = 0x56530a46c950 "solanum-1.0-dev", away_reason = 0x0, last_invite = 0x0, server_operator =
0, usermode_away = 0, banned = 0, dns_error = 0, lag_sent = 0, lag_last_check = 0, lag = 0, channels =
0x56530a83d720 = {0x56530a83e2c0}, queries = 0x0, channel_find_func = 0x0, query_find_func = 0x0,
mask_match_func = 0x0, nick_match_msg = 0x0}
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x0000565306845361 in sig_server_disconnected (server=0x56530a5d3420) at ../src/fe-common/core/fe-log.c:385
log = 0x5653076df160
logitem = 0x5653076df1b0
tmp = 0x5653076c9dc0 = {0x5653076df160, 0x5653076e00e0, 0x5653076e47d0, 0x56530a4a0db0}
next = 0x5653076c9e80 = {0x5653076e00e0, 0x5653076e47d0, 0x56530a4a0db0}
#2 0x000056530682beab in signal_emit_real (rec=0x5653075d3930, params=1, va=0x7fff125ad528, first_hook=0x5653075e9ed0) at ../src/core/signals.c:242
arglist = {0x56530a5d3420, 0x0, 0x0, 0x0, 0x0, 0x0}
prev_emitted_signal = 0x5653075cf740
hook = 0x5653076068b0
prev_emitted_hook = 0x5653075cf770
i = 6
stopped = 0
stop_emit_count = 0
continue_emit_count = 0
__func__ = "signal_emit_real"
#3 0x000056530682c0fa in signal_emit (signal=0x5653068b24b8 "server disconnected", params=1) at ../src/core/signals.c:286
rec = 0x5653075d3930
va = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff125ad610, reg_save_area = 0x7fff125ad550}}
signal_id = 44
__func__ = "signal_emit"
#4 0x0000565306827448 in server_disconnect (server=0x56530a5d3420) at ../src/core/servers.c:489
__func__ = "server_disconnect"
#5 0x000056530686ba8c in irc_server_connect (server=0x56530a5d3420) at ../src/irc/core/irc-servers.c:491
conn = 0x565309d194e0
tls_disconnect = 1
__func__ = "irc_server_connect"
#6 0x0000565306828f3d in session_restore_server (node=0x565307b16bc0) at ../src/core/session.c:285
proto = 0x5653075d8e20
conn = 0x565309d194e0
server = 0x56530a5d3420
chat_type = 0x56530a6a18e0 "IRC"
address = 0x56530761f790 "irc.libera.chat"
chatnet = 0x56530768f2d0 "libera"
password = 0x0
nick = 0x565307614710 "vague_"
port = 6697
handle = 8
#7 0x000056530682907b in sig_session_restore (config=0x56530a5697d0) at ../src/core/session.c:318
node = 0x5653075b2230
tmp = 0x565307614e40 = {0x565307b16bc0}
pids = 0x0
pid = 0x56530a614cf4
#8 0x000056530682beab in signal_emit_real (rec=0x5653075cf740, params=1, va=0x7fff125ad7b8, first_hook=0x565308e25bd0) at ../src/core/signals.c:242
arglist = {0x56530a5697d0, 0x0, 0x0, 0x0, 0x0, 0x0}
prev_emitted_signal = 0x56530759edb0
hook = 0x5653075cf770
prev_emitted_hook = 0x5653075cf9a0
i = 6
stopped = 0
stop_emit_count = 0
continue_emit_count = 0
__func__ = "signal_emit_real"
#9 0x000056530682c0fa in signal_emit (signal=0x5653068b2984 "session restore", params=1) at ../src/core/signals.c:286
rec = 0x5653075cf740
va = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fff125ad8a0, reg_save_area = 0x7fff125ad7e0}}
signal_id = 16
__func__ = "signal_emit"
#10 0x0000565306829164 in sig_init_finished () at ../src/core/session.c:340
session = 0x56530a5697d0
#11 0x000056530682beab in signal_emit_real (rec=0x56530759edb0, params=0, va=0x7fff125ad968, first_hook=0x56530759ede0) at ../src/core/signals.c:242
arglist = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0}
prev_emitted_signal = 0x0
hook = 0x5653075cf9a0
prev_emitted_hook = 0x0
i = 6
stopped = 0
stop_emit_count = 0
continue_emit_count = 0
__func__ = "signal_emit_real"
#12 0x000056530682c0fa in signal_emit (signal=0x5653068adce4 "irssi init finished", params=0) at ../src/core/signals.c:286
rec = 0x56530759edb0
va = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fff125ada50, reg_save_area = 0x7fff125ad990}}
signal_id = 2
__func__ = "signal_emit"
#13 0x00005653067fe217 in textui_finish_init () at ../src/fe-text/irssi.c:236
loglev = 5
#14 0x00005653067fe552 in main (argc=5, argv=0x7fff125adb78) at ../src/fe-text/irssi.c:373
version = 0
options = {{long_name = 0x5653068add76 "version", short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x5653068f4d30 <version>, description = 0x5653068add7e "Display Irssi version", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
loglev = 5