1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/LOG OPEN: it was checking /JOIN's options and printed errors if any /LOG

OPEN -option was used..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1480 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-05-11 14:26:22 +00:00 committed by cras
parent 0701f53e63
commit 897a1ffa86

View File

@ -85,7 +85,7 @@ static void cmd_log_open(const char *data)
log = log_create_rec(fname, level != 0 ? level : MSGLEVEL_ALL); log = log_create_rec(fname, level != 0 ? level : MSGLEVEL_ALL);
/* -<server tag> */ /* -<server tag> */
server = cmd_options_get_server("join", optlist, NULL); server = cmd_options_get_server("log open", optlist, NULL);
servertag = server == NULL ? NULL : server->tag; servertag = server == NULL ? NULL : server->tag;
if (g_hash_table_lookup(optlist, "window")) { if (g_hash_table_lookup(optlist, "window")) {