aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-04-12 00:49:32 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-04-12 00:49:32 +0200
commiteabc9d2c1b1d29aeb47162da64ce2b607c3d43ff (patch)
tree0f6258df41bf50a6b3bb5e7eefbba0bcfa687443 /irc.h
parentd986463c9e026b2a5f003f44db3105aa5449fc27 (diff)
Fixed cleanup issues when turning off an account. Also fixed syntax of
*_user_free().
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.h b/irc.h
index 8a40541c..e981b918 100644
--- a/irc.h
+++ b/irc.h
@@ -203,7 +203,7 @@ void irc_send_nick( irc_user_t *iu, const char *new );
/* irc_user.c */
irc_user_t *irc_user_new( irc_t *irc, const char *nick );
-int irc_user_free( irc_t *irc, const char *nick );
+int irc_user_free( irc_t *irc, irc_user_t *iu );
irc_user_t *irc_user_by_name( irc_t *irc, const char *nick );
int irc_user_set_nick( irc_user_t *iu, const char *new );
gint irc_user_cmp( gconstpointer a_, gconstpointer b_ );