diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-08-25 00:06:52 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-08-25 00:06:52 +0200 |
commit | 0383943c38ee308805798974bfccbd3327369c6a (patch) | |
tree | 73e72fe7177ada30828780ac7b6e7c3fc6a61f94 /irc.c | |
parent | 9829ae028dc1f0d8ab60cb18293234f2d4cc19b8 (diff) |
Added message on successful creation of accounts and fixed "set password"
command.
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |