about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c6
-rw-r--r--src/ui/window.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 360950a1..6b35cead 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -2010,6 +2010,12 @@ cons_color_setting(void)
 
     prefs_free_string(color_pref);
 
+    if (prefs_get_boolean(PREF_COLOR_NICK_OWN)) {
+        cons_show("Consistent color generation for own nick (/color own)              : ON");
+    } else {
+        cons_show("Consistent color generation for own nick (/color own)              : OFF");
+    }
+
     if (prefs_get_boolean(PREF_ROSTER_COLOR_NICK)) {
         cons_show("Consistent color generation in roster (/roster color)              : ON");
     } else {
diff --git a/src/ui/window.c b/src/ui/window.c
index 7dc2f62d..7c093480 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1522,7 +1522,9 @@ _win_print_internal(ProfWin *window, const char *show_char, int pad_indent, GDat
 
         char *color_pref = prefs_get_string(PREF_COLOR_NICK);
         if (color_pref != NULL && (strcmp(color_pref, "false") != 0)) {
-            colour = theme_hash_attrs(from);
+            if (flags & NO_ME || (!(flags & NO_ME) && prefs_get_boolean(PREF_COLOR_NICK_OWN))) {
+                colour = theme_hash_attrs(from);
+            }
         }
         prefs_free_string(color_pref);