diff options
Diffstat (limited to 'src/game/g_utils.c')
-rw-r--r-- | src/game/g_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_utils.c b/src/game/g_utils.c index d4a9ef6a..45a00779 100644 --- a/src/game/g_utils.c +++ b/src/game/g_utils.c @@ -915,7 +915,7 @@ static const char *addr6parse( const char *str, addr_t *addr ) } if( !str[ i ] ) break; - if( str[ i ] != ':' || i == 8 ) + if( str[ i ] != ':' || before + after == 8 ) break; if( str[ i + 1 ] == ':' ) { |