summaryrefslogtreecommitdiff
path: root/src/fe-common/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-10-16 19:13:46 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-10-16 19:13:46 +0000
commit93253a7353e7c389f7a5a03ba86edb4bb532bff7 (patch)
treefcec9a02639b8dcad5c6fc7b760b13dfdeb29456 /src/fe-common/core
parentc892172a2baf20db2550cc818898966409ece39f (diff)
downloadirssi-93253a7353e7c389f7a5a03ba86edb4bb532bff7.zip
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
Diffstat (limited to 'src/fe-common/core')
-rw-r--r--src/fe-common/core/chat-completion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/chat-completion.c b/src/fe-common/core/chat-completion.c
index 28dc0e54..f64dca65 100644
--- a/src/fe-common/core/chat-completion.c
+++ b/src/fe-common/core/chat-completion.c
@@ -319,7 +319,7 @@ static GList *completion_msg(SERVER_REC *win_server,
for (tmp = servers; tmp != NULL; tmp = tmp->next) {
SERVER_REC *rec = tmp->data;
- if (rec == win_server)
+ if (servers->next == NULL && rec == win_server)
newprefix = g_strdup(prefix);
else {
newprefix = prefix == NULL ?