summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorTingPing <tngpng@gmail.com>2013-03-04 12:02:55 -0500
committerTingPing <tngpng@gmail.com>2013-03-04 12:02:55 -0500
commit84f19881a3c313c5c4ef7045988aacc8a6f9306d (patch)
tree574a29bc2086e42e6a9153f54c87cb957be179e1 /src
parent6ff9fb596e630bb22cf20f424daa5ce615790112 (diff)
fix query -nofocus
Diffstat (limited to 'src')
-rw-r--r--src/common/outbound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index c146c2ac..0c405343 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -2873,7 +2873,7 @@ open_query (server *serv, char *nick, gboolean focus_existing)
 
 	sess = find_dialog (serv, nick);
 	if (!sess)
-		new_ircwindow (serv, nick, SESS_DIALOG, 1);
+		new_ircwindow (serv, nick, SESS_DIALOG, focus_existing);
 	else if (focus_existing)
 		fe_ctrl_gui (sess, 2, 0);	/* bring-to-front */
 }