summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-06-14 17:58:14 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-06-14 17:58:14 +0000
commit22b12d85ee7112e404d4b6af1ac52878baef50e7 (patch)
tree5ff5fae94aee28a10836f7cde947e7c673619336 /src
parent47fd84c5bc3306b946c253afda633d7cbc61a8a6 (diff)
downloadirssi-22b12d85ee7112e404d4b6af1ac52878baef50e7.zip
In netsplit quit messages, display @ in front of operators' nicks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@340 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-common/irc/fe-netsplit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-netsplit.c b/src/fe-common/irc/fe-netsplit.c
index e3cd9e30..1992ec14 100644
--- a/src/fe-common/irc/fe-netsplit.c
+++ b/src/fe-common/irc/fe-netsplit.c
@@ -102,8 +102,10 @@ static void get_server_splits(void *key, NETSPLIT_REC *split, TEMP_SPLIT_REC *re
chanrec->nick_count++;
if (netsplit_max_nicks <= 0 ||
- chanrec->nick_count < netsplit_max_nicks)
+ chanrec->nick_count < netsplit_max_nicks) {
+ if (splitchan->nick.op) g_string_append_c(chanrec->nicks, '@');
g_string_sprintfa(chanrec->nicks, "%s ", split->nick);
+ }
}
}