mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
remove deprecated defines
- PERL_STATIC_LIBS (was not tested anymore) - HAVE_GMODULE (always required) - HAVE_STATIC_IRC - HAVE_STATIC_PERL - HAVE_SOCKS (was not working properly) - USE_GREGEX (we use it)
This commit is contained in:
parent
3a5f93bbcc
commit
883510a3fd
22 changed files with 20 additions and 338 deletions
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include <irssi/src/fe-common/core/printtext.h>
|
||||
|
||||
#ifdef HAVE_GMODULE
|
||||
|
||||
static void sig_module_error(void *number, const char *data,
|
||||
const char *rootmodule, const char *submodule)
|
||||
{
|
||||
|
|
@ -271,22 +269,3 @@ void fe_modules_deinit(void)
|
|||
command_unbind("load", (SIGNAL_FUNC) cmd_load);
|
||||
command_unbind("unload", (SIGNAL_FUNC) cmd_unload);
|
||||
}
|
||||
|
||||
#else /* !HAVE_GMODULE */
|
||||
|
||||
static void cmd_load(const char *data)
|
||||
{
|
||||
printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
"Dynamic modules loading not supported");
|
||||
}
|
||||
|
||||
void fe_modules_init(void)
|
||||
{
|
||||
command_bind("load", NULL, (SIGNAL_FUNC) cmd_load);
|
||||
}
|
||||
|
||||
void fe_modules_deinit(void)
|
||||
{
|
||||
command_unbind("load", (SIGNAL_FUNC) cmd_load);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue