aboutsummaryrefslogtreecommitdiffstats
path: root/nick.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-03-26 08:14:37 -0400
committerWilmer van der Gaast <wilmer@gaast.net>2010-03-26 08:14:37 -0400
commit3ddb7477f51d3cf1632e2a8b6f7da4c0609a52cb (patch)
tree4ed5b267d5968fa462c2d84de73f789216b3284e /nick.c
parentba7d16f3c90de2744243efe6373ccebe51cfcb5a (diff)
One total mess that doesn't do much yet, but reorganised some stuff and
untying the IRC and the core parts a little bit. Lots of work left to do.
Diffstat (limited to 'nick.c')
-rw-r--r--nick.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nick.c b/nick.c
index 5d7dc8a9..6d798bc6 100644
--- a/nick.c
+++ b/nick.c
@@ -77,7 +77,7 @@ char *nick_get( account_t *acc, const char *handle )
*(s++) = 0;
nick_strip( nick );
- if( set_getbool( &acc->irc->set, "lcnicks" ) )
+ if( set_getbool( &acc->irc->b->set, "lcnicks" ) )
nick_lc( nick );
}
g_free( store_handle );
@@ -95,7 +95,7 @@ void nick_dedupe( account_t *acc, const char *handle, char nick[MAX_NICK_LENGTH+
/* Now, find out if the nick is already in use at the moment, and make
subtle changes to make it unique. */
- while( !nick_ok( nick ) || user_find( acc->irc, nick ) )
+ while( !nick_ok( nick ) || irc_user_find( acc->irc, nick ) )
{
if( strlen( nick ) < ( MAX_NICK_LENGTH - 1 ) )
{