mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
/SET show_own_nickchange_once ON - show own nick changes only in active
window instead of every channel you've joined. This is the default now. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2098 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
60dbc68bdf
commit
9bec3628a2
@ -462,7 +462,12 @@ static void sig_message_nick(SERVER_REC *server, const char *newnick,
|
||||
static void sig_message_own_nick(SERVER_REC *server, const char *newnick,
|
||||
const char *oldnick, const char *address)
|
||||
{
|
||||
print_nick_change(server, newnick, oldnick, address, TRUE);
|
||||
if (!settings_get_bool("show_own_nickchange_once"))
|
||||
print_nick_change(server, newnick, oldnick, address, TRUE);
|
||||
else {
|
||||
printformat(server, NULL, MSGLEVEL_NICKS,
|
||||
TXT_YOUR_NICK_CHANGED, oldnick, newnick, "");
|
||||
}
|
||||
}
|
||||
|
||||
static void sig_message_invite(SERVER_REC *server, const char *channel,
|
||||
@ -624,6 +629,7 @@ void fe_messages_init(void)
|
||||
settings_add_bool("lookandfeel", "show_nickmode_empty", TRUE);
|
||||
settings_add_bool("lookandfeel", "print_active_channel", FALSE);
|
||||
settings_add_bool("lookandfeel", "show_quit_once", FALSE);
|
||||
settings_add_bool("lookandfeel", "show_own_nickchange_once", TRUE);
|
||||
|
||||
signal_add_last("message public", (SIGNAL_FUNC) sig_message_public);
|
||||
signal_add_last("message private", (SIGNAL_FUNC) sig_message_private);
|
||||
|
Loading…
Reference in New Issue
Block a user