1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Adde -servertag to /MSG completion always with >1 connected servers.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2963 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-10-16 19:13:46 +00:00 committed by cras
parent c892172a2b
commit 93253a7353

View File

@ -319,7 +319,7 @@ static GList *completion_msg(SERVER_REC *win_server,
for (tmp = servers; tmp != NULL; tmp = tmp->next) { for (tmp = servers; tmp != NULL; tmp = tmp->next) {
SERVER_REC *rec = tmp->data; SERVER_REC *rec = tmp->data;
if (rec == win_server) if (servers->next == NULL && rec == win_server)
newprefix = g_strdup(prefix); newprefix = g_strdup(prefix);
else { else {
newprefix = prefix == NULL ? newprefix = prefix == NULL ?