mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Added bot plugin, it also has almost-functional botnet.
Changed configure.in's functionality so that you could tell what modules you want to build in main irssi binary and it will create automatically the .c files that need to call the module_init()/deinit() functions. Fixed several minor things.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@230 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
487da41745
commit
76605ad0ae
41 changed files with 2809 additions and 246 deletions
|
|
@ -25,6 +25,7 @@ libfe_common_irc_la_SOURCES = \
|
|||
fe-common-irc.c \
|
||||
irc-window-activity.c \
|
||||
irc-hilight-text.c \
|
||||
irc-modules.c \
|
||||
module-formats.c
|
||||
|
||||
noinst_HEADERS = \
|
||||
|
|
|
|||
|
|
@ -403,7 +403,7 @@ static void dcc_chat_closed(WINDOW_REC *window, WI_IRC_REC *item)
|
|||
}
|
||||
}
|
||||
|
||||
void fe_dcc_init(void)
|
||||
void fe_irc_dcc_init(void)
|
||||
{
|
||||
signal_add("dcc connected", (SIGNAL_FUNC) dcc_connected);
|
||||
signal_add("dcc rejected", (SIGNAL_FUNC) dcc_rejected);
|
||||
|
|
@ -432,7 +432,7 @@ void fe_dcc_init(void)
|
|||
theme_register(fecommon_irc_dcc_formats);
|
||||
}
|
||||
|
||||
void fe_dcc_deinit(void)
|
||||
void fe_irc_dcc_deinit(void)
|
||||
{
|
||||
theme_unregister();
|
||||
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@
|
|||
#include "themes.h"
|
||||
#include "completion.h"
|
||||
|
||||
void fe_irc_modules_init(void);
|
||||
void fe_irc_modules_deinit(void);
|
||||
|
||||
void fe_channels_init(void);
|
||||
void fe_channels_deinit(void);
|
||||
|
||||
|
|
@ -43,9 +46,6 @@ void fe_irc_server_deinit(void);
|
|||
void fe_ctcp_init(void);
|
||||
void fe_ctcp_deinit(void);
|
||||
|
||||
void fe_dcc_init(void);
|
||||
void fe_dcc_deinit(void);
|
||||
|
||||
void fe_events_init(void);
|
||||
void fe_events_deinit(void);
|
||||
|
||||
|
|
@ -61,12 +61,6 @@ void fe_query_deinit(void);
|
|||
void irc_window_activity_init(void);
|
||||
void irc_window_activity_deinit(void);
|
||||
|
||||
void fe_notifylist_init(void);
|
||||
void fe_notifylist_deinit(void);
|
||||
|
||||
void fe_flood_init(void);
|
||||
void fe_flood_deinit(void);
|
||||
|
||||
void fe_netsplit_init(void);
|
||||
void fe_netsplit_deinit(void);
|
||||
|
||||
|
|
@ -108,30 +102,28 @@ void fe_common_irc_init(void)
|
|||
fe_irc_commands_init();
|
||||
fe_irc_server_init();
|
||||
fe_ctcp_init();
|
||||
fe_dcc_init();
|
||||
fe_events_init();
|
||||
fe_events_numeric_init();
|
||||
fe_ignore_init();
|
||||
fe_notifylist_init();
|
||||
fe_flood_init();
|
||||
fe_netsplit_init();
|
||||
fe_query_init();
|
||||
completion_init();
|
||||
irc_window_activity_init();
|
||||
|
||||
fe_irc_modules_init();
|
||||
}
|
||||
|
||||
void fe_common_irc_deinit(void)
|
||||
{
|
||||
fe_irc_modules_deinit();
|
||||
|
||||
fe_channels_deinit();
|
||||
fe_irc_commands_deinit();
|
||||
fe_irc_server_deinit();
|
||||
fe_ctcp_deinit();
|
||||
fe_dcc_deinit();
|
||||
fe_events_deinit();
|
||||
fe_events_numeric_deinit();
|
||||
fe_ignore_deinit();
|
||||
fe_notifylist_deinit();
|
||||
fe_flood_deinit();
|
||||
fe_netsplit_deinit();
|
||||
fe_query_deinit();
|
||||
completion_deinit();
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ static void event_autoignore_remove(IRC_SERVER_REC *server, AUTOIGNORE_REC *igno
|
|||
printformat(server, NULL, MSGLEVEL_CLIENTNOTICE, IRCTXT_AUTOUNIGNORE, ignore->nick);
|
||||
}
|
||||
|
||||
void fe_flood_init(void)
|
||||
void fe_irc_flood_init(void)
|
||||
{
|
||||
signal_add("autoignore new", (SIGNAL_FUNC) event_autoignore_new);
|
||||
signal_add("autoignore remove", (SIGNAL_FUNC) event_autoignore_remove);
|
||||
|
|
@ -51,7 +51,7 @@ void fe_flood_init(void)
|
|||
theme_register(fecommon_irc_flood_formats);
|
||||
}
|
||||
|
||||
void fe_flood_deinit(void)
|
||||
void fe_irc_flood_deinit(void)
|
||||
{
|
||||
theme_unregister();
|
||||
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ static void notifylist_unidle(IRC_SERVER_REC *server, const char *nick,
|
|||
server->connrec->ircnet == NULL ? "IRC" : server->connrec->ircnet);
|
||||
}
|
||||
|
||||
void fe_notifylist_init(void)
|
||||
void fe_irc_notifylist_init(void)
|
||||
{
|
||||
theme_register(fecommon_irc_notifylist_formats);
|
||||
|
||||
|
|
@ -235,7 +235,7 @@ void fe_notifylist_init(void)
|
|||
signal_add("notifylist unidle", (SIGNAL_FUNC) notifylist_unidle);
|
||||
}
|
||||
|
||||
void fe_notifylist_deinit(void)
|
||||
void fe_irc_notifylist_deinit(void)
|
||||
{
|
||||
theme_unregister();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue