Changeset 57f81ec for protocols/purple


Ignore:
Timestamp:
2016-07-25T23:42:32Z (8 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
dc45a85
Parents:
9ae8f82
git-author:
dequis <dx@…> (24-07-16 17:57:19)
git-committer:
dequis <dx@…> (25-07-16 23:42:32)
Message:

purple: Don't try to init module if it's already initialized

This only happens if the user has used / forced daemon mode (for
example, when debugging with BITLBEE_DEBUG=1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/purple/purple.c

    r9ae8f82 r57f81ec  
    14461446        GString *help;
    14471447        char *dir;
     1448
     1449        if (purple_get_core() != NULL) {
     1450                log_message(LOGLVL_ERROR, "libpurple already initialized. "
     1451                            "Please use inetd or ForkDaemon mode instead.");
     1452                return;
     1453        }
    14481454
    14491455        g_assert((int) B_EV_IO_READ == (int) PURPLE_INPUT_READ);
Note: See TracChangeset for help on using the changeset viewer.