summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-netsplit.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2003-07-09 23:36:05 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2003-07-09 23:36:05 +0000
commit3906eead14807919b11789133614a3e29f73e8b3 (patch)
tree47bada4993589fb58d3e1e050074d0d4cde22d4e /src/fe-common/irc/fe-netsplit.c
parenta619fe9a2ce6069edf15a3a53414fe0b17b4ac7a (diff)
downloadirssi-3906eead14807919b11789133614a3e29f73e8b3.zip
Show voices in netsplits. Fix voices breaking netjoins. Patch by Maarten van
der Zwaart. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3125 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/fe-netsplit.c')
-rw-r--r--src/fe-common/irc/fe-netsplit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c
index 7e5d602e..dfa3a1fc 100644
--- a/src/fe-common/irc/fe-netsplit.c
+++ b/src/fe-common/irc/fe-netsplit.c
@@ -132,6 +132,8 @@ static void get_server_splits(void *key, NETSPLIT_REC *split,
chanrec->nick_count <= netsplit_nicks_hide_threshold) {
if (splitchan->op)
g_string_append_c(chanrec->nicks, '@');
+ else if (splitchan->voice)
+ g_string_append_c(chanrec->nicks, '+');
g_string_sprintfa(chanrec->nicks, "%s, ", split->nick);
if (chanrec->nick_count == netsplit_max_nicks)