aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index 87cc4c78..8f79b535 100644
--- a/irc.c
+++ b/irc.c
@@ -32,8 +32,10 @@ static gboolean irc_userping( gpointer _irc, int fd, b_input_condition cond );
GSList *irc_connection_list = NULL;
-static char *passchange( irc_t *irc, void *set, char *value )
+static char *passchange( set_t *set, char *value )
{
+ irc_t *irc = set->data;
+
irc_setpass( irc, value );
irc_usermsg( irc, "Password successfully changed" );
return NULL;