diff options
author | Timo Sirainen <cras@irssi.org> | 2001-03-03 23:20:26 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-03-03 23:20:26 +0000 |
commit | 6ae8ab57666e7969f8a10ca13edaa7933fe0cb3a (patch) | |
tree | 764749d4d83c8132a29624c0efba464e95029e2a | |
parent | 060756da9f3a16135fe91e94ad8432f67e93a1a6 (diff) | |
download | irssi-6ae8ab57666e7969f8a10ca13edaa7933fe0cb3a.zip |
not needed anymore.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1329 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/irc/flood/.cvsignore | 8 | ||||
-rw-r--r-- | src/fe-common/irc/flood/Makefile.am | 21 | ||||
-rw-r--r-- | src/fe-common/irc/flood/fe-flood.c | 61 | ||||
-rw-r--r-- | src/fe-common/irc/flood/module-formats.c | 35 | ||||
-rw-r--r-- | src/fe-common/irc/flood/module-formats.h | 12 | ||||
-rw-r--r-- | src/fe-common/irc/flood/module.h | 3 |
6 files changed, 0 insertions, 140 deletions
diff --git a/src/fe-common/irc/flood/.cvsignore b/src/fe-common/irc/flood/.cvsignore deleted file mode 100644 index 8553e9e9..00000000 --- a/src/fe-common/irc/flood/.cvsignore +++ /dev/null @@ -1,8 +0,0 @@ -*.la -*.lo -*.o -.deps -.libs -Makefile -Makefile.in -so_locations diff --git a/src/fe-common/irc/flood/Makefile.am b/src/fe-common/irc/flood/Makefile.am deleted file mode 100644 index 071d091c..00000000 --- a/src/fe-common/irc/flood/Makefile.am +++ /dev/null @@ -1,21 +0,0 @@ -moduledir = $(libdir)/irssi/modules -module_LTLIBRARIES = libfe_irc_flood.la - -libfe_irc_flood_la_LDFLAGS = -avoid-version - -INCLUDES = \ - $(GLIB_CFLAGS) \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/core/ \ - -I$(top_srcdir)/src/irc/core/ \ - -I$(top_srcdir)/src/fe-common/core/ \ - -DHELPDIR=\""$(datadir)/irssi/help"\" \ - -DSYSCONFDIR=\""$(sysconfdir)"\" - -libfe_irc_flood_la_SOURCES = \ - fe-flood.c \ - module-formats.c - -noinst_HEADERS = \ - module.h \ - module-formats.h diff --git a/src/fe-common/irc/flood/fe-flood.c b/src/fe-common/irc/flood/fe-flood.c deleted file mode 100644 index 0cd59208..00000000 --- a/src/fe-common/irc/flood/fe-flood.c +++ /dev/null @@ -1,61 +0,0 @@ -/* - fe-flood.c : irssi - - Copyright (C) 1999-2000 Timo Sirainen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#include "module.h" -#include "module-formats.h" -#include "signals.h" -#include "levels.h" - -#include "irc-servers.h" -#include "ignore.h" -#include "irc/flood/autoignore.h" - -#include "themes.h" -#include "printtext.h" - -static void event_autoignore_new(IGNORE_REC *rec) -{ - g_return_if_fail(rec != NULL); - - printformat(server_find_tag(rec->servertag), NULL, MSGLEVEL_CLIENTNOTICE, - IRCTXT_AUTOIGNORE, rec->mask, rec->time); -} - -static void event_autoignore_destroyed(IGNORE_REC *rec) -{ - g_return_if_fail(rec != NULL); - - printformat(server_find_tag(rec->servertag), NULL, MSGLEVEL_CLIENTNOTICE, - IRCTXT_AUTOUNIGNORE, rec->mask, rec->time); -} -void fe_irc_flood_init(void) -{ - signal_add("autoignore new", (SIGNAL_FUNC) event_autoignore_new); - signal_add("autoignore destroyed", (SIGNAL_FUNC) event_autoignore_destroyed); - - theme_register(fecommon_irc_flood_formats); -} - -void fe_irc_flood_deinit(void) -{ - signal_remove("autoignore new", (SIGNAL_FUNC) event_autoignore_new); - signal_remove("autoignore destroyed", (SIGNAL_FUNC) event_autoignore_destroyed); - theme_unregister(); -} diff --git a/src/fe-common/irc/flood/module-formats.c b/src/fe-common/irc/flood/module-formats.c deleted file mode 100644 index c2ce4ae1..00000000 --- a/src/fe-common/irc/flood/module-formats.c +++ /dev/null @@ -1,35 +0,0 @@ -/* - module-formats.c : irssi - - Copyright (C) 2000 Timo Sirainen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -#include "module.h" -#include "formats.h" - -FORMAT_REC fecommon_irc_flood_formats[] = -{ - { MODULE_NAME, "Flood", 0 }, - - /* ---- */ - { NULL, "Autoignore", 0 }, - - { "autoignore", "Flood detected from {nick $0}, autoignoring for {hilight $1} seconds", 2, { 0, 1 } }, - { "autounignore", "Removed autoignore from {nick $0}", 1, { 0 } }, - - { NULL, NULL, 0 } -}; diff --git a/src/fe-common/irc/flood/module-formats.h b/src/fe-common/irc/flood/module-formats.h deleted file mode 100644 index 73e313ba..00000000 --- a/src/fe-common/irc/flood/module-formats.h +++ /dev/null @@ -1,12 +0,0 @@ -#include "formats.h" - -enum { - IRCTXT_MODULE_NAME, - - IRCTXT_FILL_1, - - IRCTXT_AUTOIGNORE, - IRCTXT_AUTOUNIGNORE -}; - -extern FORMAT_REC fecommon_irc_flood_formats[]; diff --git a/src/fe-common/irc/flood/module.h b/src/fe-common/irc/flood/module.h deleted file mode 100644 index a5d9528f..00000000 --- a/src/fe-common/irc/flood/module.h +++ /dev/null @@ -1,3 +0,0 @@ -#include "common.h" - -#define MODULE_NAME "fe-common/irc/flood" |