
			Irssi ignore_oc module

		     Copyright 2003 Elmar Hoffmann


A module for the Irssi IRC client (http://www.irssi.org/) to ignore
privmsgs from users that are not in one of the channels you are, like
Spambots, people using less powerful clients than Irssi automatically
sending you passwords for some bot that has the same nick like you on
another network, etc.

It is based on the idea of the ignoreoc.pl script by Erkki Seppl.

It however
 - does work properly when being connected to multiple servers
 - does not require perl support in Irssi
 - does not ignore people you have a query open to, but not yet sent any
   message
 - allows disabling and configuration of the notice sent to ignored users


LICENSE
=======

This theme 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 theme 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 theme; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.


INSTALL
=======

ignore_oc requires glib version 2.0 or greater to compile.

Compile and install like this, replacing /usr/local/src/irssi with the
path to the irssi source on your system:

export IRSSI=/usr/local/src/irssi
gcc ignore_oc.c -Wall -g -o ~/.irssi/modules/libignore_oc.so -shared -I$IRSSI -I$IRSSI/src -I$IRSSI/src/core -I$IRSSI/src/irc/core -DHAVE_CONFIG_H `pkg-config --cflags glib-2.0`

In Irssi then do:

/LOAD ignore_oc

The boolean setting ignore_oc_send_notice allows you disable sending a notice
to the user telling him that his message is ignored, the string setting
ignore_oc_notice allows you customize this string.


CONTACT
=======

The ignore_oc homepage is at http://www.elho.net/irc/irssi/ignore_oc/

Please report any bugs to irssi-ignore_oc@elho.net.
