diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-25 19:23:27 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2006-06-25 19:23:27 +0200 |
commit | 88086dbd9002123be39d00c53460f1ec9f2b719a (patch) | |
tree | 2370e9c8b59040b16217e120f203d24ff34f9270 /irc.c | |
parent | 6e1fed7057ee26f21b0e59a5aeb292d4f3f0e8ae (diff) |
Added versioning information to the XML-file (convenient for later format
changes), got rid of confusing "Password successfully changed" message
when the user uses the identify-command and protected rc4_decode() against
short inputs.
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -32,10 +32,11 @@ 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( irc_t *irc, void *set, char *value ) { - irc_setpass (irc, value); - return (NULL); + irc_setpass( irc, value ); + irc_usermsg( irc, "Password successfully changed" ); + return NULL; } irc_t *irc_new( int fd ) |