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

@ -154,7 +154,7 @@ static void cmd_msg(gchar *data, IRC_SERVER_REC *server, WI_ITEM_REC *item)
else
{
/* private message */
item = (WI_ITEM_REC *) privmsg_get_query(server, target);
item = (WI_ITEM_REC *) privmsg_get_query(server, target, TRUE);
printformat(server, target, MSGLEVEL_MSGS | MSGLEVEL_NOHILIGHT,
item == NULL ? IRCTXT_OWN_MSG_PRIVATE : IRCTXT_OWN_MSG_PRIVATE_QUERY, target, msg, server->nick);
}