mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Allow storing multiple "other" prefixes such as +q and +a.
Original patch by JasonX, somewhat changed by exg and me. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4922 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
aefa7b47c1
commit
89cd47bf3a
15 changed files with 110 additions and 88 deletions
|
|
@ -180,14 +180,8 @@ static void dump_join(IRC_CHANNEL_REC *channel, CLIENT_REC *client)
|
|||
else
|
||||
g_string_append_c(str, ' ');
|
||||
|
||||
if (nick->other)
|
||||
g_string_append_c(str, nick->other);
|
||||
else if (nick->op)
|
||||
g_string_append_c(str, '@');
|
||||
else if (nick->halfop)
|
||||
g_string_append_c(str, '%');
|
||||
else if (nick->voice)
|
||||
g_string_append_c(str, '+');
|
||||
if (nick->prefixes[0])
|
||||
g_string_append_c(str, nick->prefixes[0]);
|
||||
g_string_append(str, nick->nick);
|
||||
}
|
||||
g_slist_free(nicks);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue