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:
parent
c892172a2b
commit
93253a7353
@ -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 ?
|
||||||
|
Loading…
Reference in New Issue
Block a user