1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

Fixed nick alignment problem when look_nickmode is off

This commit is contained in:
Sebastien Helleu
2006-07-27 11:11:22 +00:00
parent 8df7ac464b
commit 451f623c98
4 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-07-25
ChangeLog - 2006-07-27
Version 0.2.0 (under dev!):
* fixed nick alignment problem when look_nickmode is off
* added generic function for incoming numeric IRC commands (bug #16611)
* fixed crash when doing "/part something" on a server buffer (bug #17201)
* charsets are now checked when set by /charset command
+1 -1
View File
@@ -171,7 +171,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname,
length += strlen (cfg_look_nick_prefix);
if (external_nick)
length += 2;
if (nick)
if (nick && cfg_look_nickmode)
{
if (nick->flags & (NICK_CHANOWNER | NICK_CHANADMIN |
NICK_OP | NICK_HALFOP | NICK_VOICE))
+2 -1
View File
@@ -1,9 +1,10 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
ChangeLog - 2006-07-25
ChangeLog - 2006-07-27
Version 0.2.0 (under dev!):
* fixed nick alignment problem when look_nickmode is off
* added generic function for incoming numeric IRC commands (bug #16611)
* fixed crash when doing "/part something" on a server buffer (bug #17201)
* charsets are now checked when set by /charset command
+1 -1
View File
@@ -171,7 +171,7 @@ irc_display_nick (t_gui_buffer *buffer, t_irc_nick *nick, char *nickname,
length += strlen (cfg_look_nick_prefix);
if (external_nick)
length += 2;
if (nick)
if (nick && cfg_look_nickmode)
{
if (nick->flags & (NICK_CHANOWNER | NICK_CHANADMIN |
NICK_OP | NICK_HALFOP | NICK_VOICE))