mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Actually :) The /SET show_own_nick_change_once is still there, but it's OFF
by default now, and printing the own nick changes just don't trigger window activity. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2099 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9bec3628a2
commit
e98a83b538
@ -409,11 +409,16 @@ static void print_nick_change_channel(SERVER_REC *server, const char *channel,
|
||||
const char *address,
|
||||
int ownnick)
|
||||
{
|
||||
int level;
|
||||
|
||||
if (ignore_check(server, oldnick, address,
|
||||
channel, newnick, MSGLEVEL_NICKS))
|
||||
return;
|
||||
|
||||
printformat(server, channel, MSGLEVEL_NICKS,
|
||||
level = MSGLEVEL_NICKS;
|
||||
if (ownnick) level |= MSGLEVEL_NO_ACT;
|
||||
|
||||
printformat(server, channel, level,
|
||||
ownnick ? TXT_YOUR_NICK_CHANGED : TXT_NICK_CHANGED,
|
||||
oldnick, newnick, channel);
|
||||
}
|
||||
@ -629,7 +634,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);
|
||||
settings_add_bool("lookandfeel", "show_own_nickchange_once", FALSE);
|
||||
|
||||
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