aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nick.c b/nick.c
index d4c1891c..d8efd093 100644
--- a/nick.c
+++ b/nick.c
@@ -184,7 +184,7 @@ char *nick_gen( bee_user_t *bu )
part = asc = g_convert( part, -1, "ASCII//TRANSLIT//IGNORE",
"UTF-8", NULL, NULL, NULL );
- if( ret->len == 0 && *part && isdigit( *part ) )
+ if( ret->len == 0 && part && isdigit( *part ) )
g_string_append_c( ret, '_' );
while( part && *part && *part != chop )