aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_im.c')
-rw-r--r--irc_im.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/irc_im.c b/irc_im.c
index 9a44b3f7..c9f0efbc 100644
--- a/irc_im.c
+++ b/irc_im.c
@@ -72,7 +72,7 @@ static gboolean bee_irc_user_new( bee_t *bee, bee_user_t *bu )
else
{
char *s;
- for( s = bu->ic->acc->tag; isalnum( *s ); s ++ );
+ for( s = bu->ic->acc->tag; g_ascii_isalnum( *s ); s ++ );
/* Only use the tag if we got to the end of the string.
(So allow alphanumerics only. Hopefully not too
restrictive.) */
@@ -315,7 +315,7 @@ static gboolean bee_irc_user_fullname( bee_t *bee, bee_user_t *bu )
/* Strip newlines (unlikely, but IRC-unfriendly so they must go)
TODO(wilmer): Do the same with away msgs again! */
for( s = iu->fullname; *s; s ++ )
- if( isspace( *s ) ) *s = ' ';
+ if( g_ascii_isspace( *s ) ) *s = ' ';
if( ( bu->ic->flags & OPT_LOGGED_IN ) && set_getbool( &bee->set, "display_namechanges" ) )
{