Renamed /SET query_auto_close to autoclose_query.

Added /SET autocreate_own_query - it specifies if we want to create
query window when we send /MSG to someone.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@343 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-14 19:05:51 +00:00 committed by cras
commit 6140ab3704
5 changed files with 11 additions and 9 deletions

View file

@ -111,7 +111,7 @@ static void event_privmsg(const char *data, IRC_SERVER_REC *server, const char *
print_channel_msg(server, msg, nick, addr, target);
} else {
/* private message */
item = (WI_ITEM_REC *) privmsg_get_query(server, nick);
item = (WI_ITEM_REC *) privmsg_get_query(server, nick, FALSE);
printformat(server, nick, MSGLEVEL_MSGS,
item == NULL ? IRCTXT_MSG_PRIVATE : IRCTXT_MSG_PRIVATE_QUERY, nick, addr, msg);
}
@ -151,7 +151,7 @@ static void ctcp_msg_check_action(gchar *data, IRC_SERVER_REC *server, gchar *ni
}
} else {
/* private action */
item = (WI_ITEM_REC *) privmsg_get_query(server, nick);
item = (WI_ITEM_REC *) privmsg_get_query(server, nick, FALSE);
printformat(server, nick, MSGLEVEL_ACTIONS,
item == NULL ? IRCTXT_ACTION_PRIVATE : IRCTXT_ACTION_PRIVATE_QUERY,
nick, addr == NULL ? "" : addr, data);