Changeset 1f92a58 for irc.c


Ignore:
Timestamp:
2010-04-10T02:27:50Z (10 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
17a6ee9
Parents:
57c96f7
Message:

Restore the storage module.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r57c96f7 r1f92a58  
    259259       
    260260        return( TRUE );
     261}
     262
     263/* USE WITH CAUTION!
     264   Sets pass without checking */
     265void irc_setpass (irc_t *irc, const char *pass)
     266{
     267        g_free (irc->password);
     268       
     269        if (pass) {
     270                irc->password = g_strdup (pass);
     271        } else {
     272                irc->password = NULL;
     273        }
    261274}
    262275
Note: See TracChangeset for help on using the changeset viewer.