diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-09-08 12:20:49 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-09-08 12:20:49 +0000 |
commit | 50b371da7ed159959e6cdf3b81a745d4ff8ba4f1 (patch) | |
tree | 888416fee68aa447b0b1020389214c56025416bc /src | |
parent | 5479a3d10ac288a113cf2ff72d96cb3b65a1ca79 (diff) | |
download | weechat-50b371da7ed159959e6cdf3b81a745d4ff8ba4f1.zip |
Fixed display of privates in hotlist: now display activity for privates (at least messages) when server default notify is 1
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/irc-channel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c index 117c549f3..902a06ed3 100644 --- a/src/irc/irc-channel.c +++ b/src/irc/irc-channel.c @@ -497,6 +497,9 @@ channel_get_notify_level (t_irc_server *server, t_irc_channel *channel) return NOTIFY_LEVEL_DEFAULT; server_default_notify = server_get_default_notify_level (server); + if ((channel->type != CHANNEL_TYPE_CHANNEL) + && (server_default_notify == 1)) + server_default_notify = 2; name = (char *) malloc (strlen (channel->name) + 2); strcpy (name, channel->name); |