aboutsummaryrefslogtreecommitdiffstats
path: root/nick.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-03-27 13:36:47 -0400
committerWilmer van der Gaast <wilmer@gaast.net>2010-03-27 13:36:47 -0400
commit280c56a7b24dc08b35a1ecd98c8f4b61435d1100 (patch)
tree81340377a433898775385ee070beea1e4ea5e65b /nick.c
parent2f53ada73d7d43b538c157563ab5eb39b7592137 (diff)
Added privmsg handlers to users/channels. root commands are coming back.
Diffstat (limited to 'nick.c')
-rw-r--r--nick.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nick.c b/nick.c
index 6d798bc6..002d2501 100644
--- a/nick.c
+++ b/nick.c
@@ -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 ) || irc_user_find( acc->irc, nick ) )
+ while( !nick_ok( nick ) || irc_user_by_name( acc->irc, nick ) )
{
if( strlen( nick ) < ( MAX_NICK_LENGTH - 1 ) )
{