diff options
Diffstat (limited to 'vchat-user.c')
-rwxr-xr-x | vchat-user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-user.c b/vchat-user.c index 7280672..881a3cf 100755 --- a/vchat-user.c +++ b/vchat-user.c | |||
@@ -85,7 +85,7 @@ char const *own_nick_get( ) { | |||
85 | 85 | ||
86 | int own_nick_check( char *nick ) { | 86 | int own_nick_check( char *nick ) { |
87 | if( !g_nick ) return -1; | 87 | if( !g_nick ) return -1; |
88 | return !strncasecmp(g_nick,nick,strlen(g_nick) ); | 88 | return !strcasecmp(g_nick,nick); |
89 | } | 89 | } |
90 | 90 | ||
91 | int own_channel_get( ) { | 91 | int own_channel_get( ) { |