Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage.c

    r8e6ecfe rd628339  
    2929#include "bitlbee.h"
    3030
     31extern storage_t storage_text;
    3132extern storage_t storage_xml;
    3233
    3334static GList *storage_backends = NULL;
     35
     36const struct prpl protocol_missing = {
     37        .name = "_unknown",
     38};
    3439
    3540void register_storage_backend(storage_t *backend)
     
    8792}
    8893
    89 storage_status_t storage_check_pass(irc_t *irc, const char *nick, const char *password)
     94storage_status_t storage_check_pass(const char *nick, const char *password)
    9095{
    9196        GList *gl;
     
    97102                storage_status_t status;
    98103
    99                 status = st->check_pass(irc, nick, password);
     104                status = st->check_pass(nick, password);
    100105                if (status != STORAGE_NO_SUCH_USER) {
    101106                        return status;
     
    171176}
    172177
    173 storage_status_t storage_remove(const char *nick)
     178storage_status_t storage_remove(const char *nick, const char *password)
    174179{
    175180        GList *gl;
     
    185190                storage_status_t status;
    186191
    187                 status = st->remove(nick);
     192                status = st->remove(nick, password);
    188193                ok |= status == STORAGE_OK;
    189194                if (status != STORAGE_NO_SUCH_USER && status != STORAGE_OK) {
Note: See TracChangeset for help on using the changeset viewer.