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:
@@ -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
|
||||
|
||||
@@ -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
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user