]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
11 years agoTidy up source files:
Peter Powell [Tue, 2 Apr 2013 19:12:15 +0000 (20:12 +0100)]
Tidy up source files:
- Use #pragma once instead of include guards.
- Move header files in src/modules to include/modules.
- Fixed various spacing issues.

11 years agoMerge pull request #488 from SaberUK/master+loglevel-rename
Attila Molnar [Fri, 12 Apr 2013 14:58:58 +0000 (07:58 -0700)]
Merge pull request #488 from SaberUK/master+loglevel-rename

Add LOG_ prefix to the log level enum values.

11 years agoAdd LOG_ prefix to the log level enum values.
Peter Powell [Fri, 12 Apr 2013 01:10:06 +0000 (02:10 +0100)]
Add LOG_ prefix to the log level enum values.

11 years agoMerge pull request #487 from SaberUK/master+better-isupport-api
Attila Molnar [Thu, 11 Apr 2013 22:11:31 +0000 (15:11 -0700)]
Merge pull request #487 from SaberUK/master+better-isupport-api

Convert ISUPPORT to use a map instead of a string.

11 years agoConvert ISUPPORT to use a map instead of a string.
Peter Powell [Sun, 7 Apr 2013 21:23:25 +0000 (22:23 +0100)]
Convert ISUPPORT to use a map instead of a string.

11 years agoFix clang warning about IsOper()
attilamolnar [Thu, 11 Apr 2013 19:58:23 +0000 (21:58 +0200)]
Fix clang warning about IsOper()

11 years agoRun OnUnloadModule hook before starting to unregister services provided by the module
attilamolnar [Thu, 4 Apr 2013 22:47:26 +0000 (00:47 +0200)]
Run OnUnloadModule hook before starting to unregister services provided by the module

11 years agoBanCache: Move expiration code into a function, call it from RemoveEntries()
attilamolnar [Wed, 10 Apr 2013 15:55:33 +0000 (17:55 +0200)]
BanCache: Move expiration code into a function, call it from RemoveEntries()

11 years agoBanCache: Remove BanCacheManager::RehashCache()
attilamolnar [Wed, 10 Apr 2013 15:50:49 +0000 (17:50 +0200)]
BanCache: Remove BanCacheManager::RehashCache()

The function was never called

11 years agoBanCache: Simplify BanCacheManager::RemoveEntries()
attilamolnar [Sun, 30 Sep 2012 23:00:10 +0000 (01:00 +0200)]
BanCache: Simplify BanCacheManager::RemoveEntries()

11 years agoBanCache: Remove BanCacheHit::IP field, and BanCacheManager::RemoveHit()
attilamolnar [Sun, 30 Sep 2012 22:52:01 +0000 (00:52 +0200)]
BanCache: Remove BanCacheHit::IP field, and BanCacheManager::RemoveHit()

The IP field was only used in RemoveHit(), RemoveHit() was only called from GetHit()

11 years agoBanCache: Do one hash lookup in BanCacheManager::AddHit()
attilamolnar [Sun, 30 Sep 2012 22:50:08 +0000 (00:50 +0200)]
BanCache: Do one hash lookup in BanCacheManager::AddHit()

11 years agoBanCache: Don't repeat ourselves, one BanCacheManager::AddHit() and one BanCacheHit...
attilamolnar [Sun, 30 Sep 2012 22:48:00 +0000 (00:48 +0200)]
BanCache: Don't repeat ourselves, one BanCacheManager::AddHit() and one BanCacheHit constructor is enough

11 years agoReplace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()
attilamolnar [Tue, 9 Apr 2013 17:12:09 +0000 (19:12 +0200)]
Replace IS_AWAY() and IS_OPER() macros with User::IsAway() and User::IsOper()

11 years agoUpdate Window's .gitignore
Adam [Wed, 10 Apr 2013 07:39:43 +0000 (02:39 -0500)]
Update Window's .gitignore

11 years agoFix ListModeBase on Windows
attilamolnar [Tue, 9 Apr 2013 19:41:18 +0000 (21:41 +0200)]
Fix ListModeBase on Windows

11 years agoMove most whois related code from the core into cmd_whois
attilamolnar [Tue, 9 Apr 2013 16:36:49 +0000 (18:36 +0200)]
Move most whois related code from the core into cmd_whois

11 years agoXLine: Provide a default implementation for DisplayExpiry()
attilamolnar [Mon, 8 Apr 2013 21:40:09 +0000 (23:40 +0200)]
XLine: Provide a default implementation for DisplayExpiry()

11 years agoListModeBase: Cache max items per channel
attilamolnar [Wed, 3 Apr 2013 18:05:49 +0000 (20:05 +0200)]
ListModeBase: Cache max items per channel

11 years agoListModeBase: Minor changes to original u_listmode code
attilamolnar [Wed, 3 Apr 2013 17:54:23 +0000 (19:54 +0200)]
ListModeBase: Minor changes to original u_listmode code

- Add constructors to ListItem, ListLimit
- Rename fields in ListItem
- Store time as time_t instead of string
- Store limits in a vector instead of a list
- Don't deallocate the list when it becomes empty

11 years agoMigrate u_listmode.h into the core, change +b to use it
attilamolnar [Wed, 3 Apr 2013 17:10:18 +0000 (19:10 +0200)]
Migrate u_listmode.h into the core, change +b to use it

11 years agoAdd builtin modes using AddService()
attilamolnar [Wed, 3 Apr 2013 16:50:11 +0000 (18:50 +0200)]
Add builtin modes using AddService()

11 years agoUnite include/modes/*.h into include/builtinmodes.h
attilamolnar [Wed, 3 Apr 2013 16:46:24 +0000 (18:46 +0200)]
Unite include/modes/*.h into include/builtinmodes.h

11 years agoAllow dynamic references to reference ServiceProviders, introduce ModeReference
attilamolnar [Thu, 4 Apr 2013 20:16:52 +0000 (22:16 +0200)]
Allow dynamic references to reference ServiceProviders, introduce ModeReference

Mode handlers can be referenced using mode/<modename>

11 years agoRework dynamic_reference management, introduce dynamic_reference_nocheck
attilamolnar [Thu, 4 Apr 2013 20:09:21 +0000 (22:09 +0200)]
Rework dynamic_reference management, introduce dynamic_reference_nocheck

New dynamic references are now resolved at construction and all of them are re-resolved when a relevant service is added or removed; resolution is no longer done in operator->

dynamic_reference_nocheck is a variant of dynamic_reference that does not check for value being null in operator-> / operator*
dynamic_reference still throws an exception when used in this case

Both kinds of dynamic references support .check(): an exception is thrown if this is called when value is null

11 years agoRemove OnAddBan and OnDelBan hooks
attilamolnar [Mon, 8 Apr 2013 19:55:53 +0000 (21:55 +0200)]
Remove OnAddBan and OnDelBan hooks

11 years agoAdd support for generating dhparams with GnuTLS to genssl.
Peter Powell [Mon, 8 Apr 2013 18:22:46 +0000 (19:22 +0100)]
Add support for generating dhparams with GnuTLS to genssl.

11 years agoMerge pull request #475 from SaberUK/master+default-to-xml-config
Attila Molnar [Sat, 6 Apr 2013 11:56:42 +0000 (04:56 -0700)]
Merge pull request #475 from SaberUK/master+default-to-xml-config

Default to the XML config format.

11 years agoDefault to the XML config format.
Peter Powell [Sat, 6 Apr 2013 10:46:56 +0000 (11:46 +0100)]
Default to the XML config format.

11 years agoMerge pull request #474 from SaberUK/master+better-config-deprecation
Attila Molnar [Sat, 6 Apr 2013 01:22:27 +0000 (18:22 -0700)]
Merge pull request #474 from SaberUK/master+better-config-deprecation

Improve the config deprecation system.

11 years agoAdd the ability to deprecate config values as well as keys.
Peter Powell [Sat, 6 Apr 2013 00:52:39 +0000 (01:52 +0100)]
Add the ability to deprecate config values as well as keys.

11 years agoPurge the 1.1 config deprecations.
Peter Powell [Fri, 5 Apr 2013 23:57:02 +0000 (00:57 +0100)]
Purge the 1.1 config deprecations.

11 years agoMerge pull request #472 from SaberUK/master+merge-headers
Attila Molnar [Fri, 5 Apr 2013 21:14:50 +0000 (14:14 -0700)]
Merge pull request #472 from SaberUK/master+merge-headers

Merge inspircd_{config,version}.h into a single header file.

11 years agoMerge inspircd_{config,version}.h into a single header file.
Peter Powell [Fri, 5 Apr 2013 15:39:40 +0000 (16:39 +0100)]
Merge inspircd_{config,version}.h into a single header file.

11 years agoMerge pull request #465 from Shawn-Smith/master+ServicesOperGrammar
Attila Molnar [Fri, 5 Apr 2013 14:58:19 +0000 (07:58 -0700)]
Merge pull request #465 from Shawn-Smith/master+ServicesOperGrammar

[2.2] Fixed grammar issue

11 years agoFixed grammar in whois output for +k'd services.
Shawn Smith [Wed, 3 Apr 2013 13:45:24 +0000 (09:45 -0400)]
Fixed grammar in whois output for +k'd services.

11 years agoStop recreating hashmaps every hour, move garbage collection code related to local...
attilamolnar [Thu, 4 Apr 2013 17:23:16 +0000 (19:23 +0200)]
Stop recreating hashmaps every hour, move garbage collection code related to local users to UserManager

11 years agoLine ending conversion
attilamolnar [Thu, 4 Apr 2013 17:21:03 +0000 (19:21 +0200)]
Line ending conversion

11 years agoMove whowas settings into cmd_whowas from ConfigReader
attilamolnar [Fri, 6 Jul 2012 13:57:00 +0000 (15:57 +0200)]
Move whowas settings into cmd_whowas from ConfigReader

11 years agoMake cmd_whowas act like a module, remove special handling
attilamolnar [Fri, 6 Jul 2012 13:39:11 +0000 (15:39 +0200)]
Make cmd_whowas act like a module, remove special handling

11 years agoConvert InspIRCd::Duration() to be static
attilamolnar [Wed, 3 Apr 2013 13:54:28 +0000 (15:54 +0200)]
Convert InspIRCd::Duration() to be static

11 years agoMerge pull request #460 from SaberUK/master+genssl-bugfix
Attila Molnar [Tue, 2 Apr 2013 20:21:31 +0000 (13:21 -0700)]
Merge pull request #460 from SaberUK/master+genssl-bugfix

Fix a small typo in genssl.

11 years agoFix a small typo in genssl.
Peter Powell [Tue, 2 Apr 2013 20:17:11 +0000 (21:17 +0100)]
Fix a small typo in genssl.

11 years agoMerge pull request #459 from ChrisTX/insp20+fixgeoip
Attila Molnar [Tue, 2 Apr 2013 19:53:37 +0000 (12:53 -0700)]
Merge pull request #459 from ChrisTX/insp20+fixgeoip

m_geoip: Fix compilation

11 years agom_geoip: Fix compilation
ChrisTX [Tue, 2 Apr 2013 19:51:25 +0000 (21:51 +0200)]
m_geoip: Fix compilation

11 years agoMerge pull request #456 from SaberUK/master+genssl
Attila Molnar [Tue, 2 Apr 2013 17:28:04 +0000 (10:28 -0700)]
Merge pull request #456 from SaberUK/master+genssl

Extract SSL generation to a tool which can be shipped by distros.

11 years agoExtract SSL generation to a tool which can be shipped by distros.
Peter Powell [Tue, 2 Apr 2013 15:30:11 +0000 (16:30 +0100)]
Extract SSL generation to a tool which can be shipped by distros.

11 years agoWhitespace and empty destructor removal, minor coding style changes
attilamolnar [Mon, 1 Apr 2013 19:56:13 +0000 (21:56 +0200)]
Whitespace and empty destructor removal, minor coding style changes

11 years agoIgnore empty sid in ServerConfig::Fill()
attilamolnar [Mon, 1 Apr 2013 19:31:27 +0000 (21:31 +0200)]
Ignore empty sid in ServerConfig::Fill()

11 years agoMerge pull request #452 from SaberUK/master+nuke-hashmap
Attila Molnar [Mon, 1 Apr 2013 16:50:50 +0000 (09:50 -0700)]
Merge pull request #452 from SaberUK/master+nuke-hashmap

Purge the deprecated hash_map from existance.

11 years agoMove member variables from User to LocalUser
attilamolnar [Mon, 1 Apr 2013 15:05:12 +0000 (17:05 +0200)]
Move member variables from User to LocalUser

- idle_lastmsg
- dns_done
- quitting_sendq
- exempt
- lastping

11 years agocmd_stats List opers without iterating the whole userlist
attilamolnar [Mon, 1 Apr 2013 14:42:04 +0000 (16:42 +0200)]
cmd_stats List opers without iterating the whole userlist

11 years agoChange IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ strings as...
attilamolnar [Mon, 1 Apr 2013 14:20:35 +0000 (16:20 +0200)]
Change IsNickHandler()/IsIdentHandler()/IsChannelHandler() to use C++ strings as arguments instead of C strings

11 years agoConvert IsSID() to a static member function, modules shouldn't override it
attilamolnar [Mon, 1 Apr 2013 14:15:19 +0000 (16:15 +0200)]
Convert IsSID() to a static member function, modules shouldn't override it

11 years agoRemove more deprecated code
attilamolnar [Mon, 1 Apr 2013 14:10:45 +0000 (16:10 +0200)]
Remove more deprecated code

- ConfigReader
- FloodQuitUserHandler
- IsValidModuleCommand
- CallCommandHandler
- DoCleanup from u_listmode.h

11 years agoMerge pull request #454 from SaberUK/master+misc-improvements
Attila Molnar [Mon, 1 Apr 2013 13:53:24 +0000 (06:53 -0700)]
Merge pull request #454 from SaberUK/master+misc-improvements

Purge dead code and deprecated types.

11 years agoMerge pull request #455 from SaberUK/master+deprecation-macro
Attila Molnar [Mon, 1 Apr 2013 13:40:35 +0000 (06:40 -0700)]
Merge pull request #455 from SaberUK/master+deprecation-macro

Add macro for marking methods as deprecated.

11 years agoPurge references to the deprecated GetStackedLine method.
Peter Powell [Mon, 1 Apr 2013 09:20:52 +0000 (10:20 +0100)]
Purge references to the deprecated GetStackedLine method.

11 years agoPurge the deprecated chanprotect module.
Peter Powell [Mon, 1 Apr 2013 09:11:03 +0000 (10:11 +0100)]
Purge the deprecated chanprotect module.

11 years agoRemove some dead code:
Peter Powell [Mon, 1 Apr 2013 07:58:06 +0000 (08:58 +0100)]
Remove some dead code:
- Conditions in m_httpd_stats which can never be true.
- Commented out code in m_sqloper.
- Unused macro in inspircd.h.

11 years agoAdd macro for marking methods as deprecated.
Peter Powell [Mon, 1 Apr 2013 09:38:31 +0000 (10:38 +0100)]
Add macro for marking methods as deprecated.

11 years agoFix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810...
Adam [Mon, 1 Apr 2013 05:20:32 +0000 (00:20 -0500)]
Fix linker error when linking spanningtree caused by 56cae0f3a484cbcb20569b68917f1810a0c2f4a4

11 years agoPurge the deprecated hash_map from existance.
Peter Powell [Mon, 1 Apr 2013 04:25:03 +0000 (05:25 +0100)]
Purge the deprecated hash_map from existance.

11 years agoChange channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser()...
attilamolnar [Mon, 1 Apr 2013 00:13:43 +0000 (02:13 +0200)]
Change channel name parameter of Module::OnUserPreJoin() and Channel::JoinUser() to std::string from char*

11 years agoRewrote caller.h to be more C++11 ish, currently commented out pending whenever we...
Adam [Sun, 21 Oct 2012 02:14:46 +0000 (22:14 -0400)]
Rewrote caller.h to be more C++11 ish, currently commented out pending whenever we decide to support some C++11 features

11 years agoNew API version
attilamolnar [Sun, 31 Mar 2013 23:42:49 +0000 (01:42 +0200)]
New API version

11 years agoChange User::GetIPString() to return const std::string&
attilamolnar [Sun, 31 Mar 2013 23:27:02 +0000 (01:27 +0200)]
Change User::GetIPString() to return const std::string&

11 years agom_samode Require an oper privilege to change the user modes of other users
attilamolnar [Sun, 31 Mar 2013 23:13:24 +0000 (01:13 +0200)]
m_samode Require an oper privilege to change the user modes of other users

Issue #417

11 years agoSend LUSERS before MOTD
attilamolnar [Sun, 31 Mar 2013 23:01:12 +0000 (01:01 +0200)]
Send LUSERS before MOTD

Issue #399

11 years agoChange the default value of <options:cyclehosts> to no
attilamolnar [Sun, 31 Mar 2013 22:58:44 +0000 (00:58 +0200)]
Change the default value of <options:cyclehosts> to no

Issue #402

11 years agoRemove legacy code, mostly related to 1.2 compatibility
attilamolnar [Sun, 31 Mar 2013 22:54:58 +0000 (00:54 +0200)]
Remove legacy code, mostly related to 1.2 compatibility

11 years agoMark as version 2.2
attilamolnar [Sun, 31 Mar 2013 18:23:47 +0000 (20:23 +0200)]
Mark as version 2.2

11 years agoMinor update to example configs
attilamolnar [Sun, 31 Mar 2013 17:52:43 +0000 (19:52 +0200)]
Minor update to example configs

11 years agoRelease 2.0.11
attilamolnar [Fri, 29 Mar 2013 01:16:32 +0000 (02:16 +0100)]
Release 2.0.11

11 years agocmd_kill Send snotice to servers when both the oper and the victim are on the same...
attilamolnar [Sun, 24 Mar 2013 21:19:44 +0000 (22:19 +0100)]
cmd_kill Send snotice to servers when both the oper and the victim are on the same server

11 years agoUpdate doc and fix the description of m_allowinvite
attilamolnar [Fri, 29 Mar 2013 00:09:55 +0000 (01:09 +0100)]
Update doc and fix the description of m_allowinvite

11 years agom_ldapoper Make the module actually work
attilamolnar [Sat, 23 Mar 2013 20:08:04 +0000 (21:08 +0100)]
m_ldapoper Make the module actually work

Fixes #439 reported by @rhylan

11 years agom_ldapoper Fix memory leak
attilamolnar [Mon, 11 Mar 2013 18:53:54 +0000 (19:53 +0100)]
m_ldapoper Fix memory leak

See 1813369adecc1efc9812e90c40c21dc32e4965c9 for details

11 years agoFix premature overwriting of OLDTIME that resulted in time drifts never being detected
attilamolnar [Thu, 28 Mar 2013 14:06:47 +0000 (15:06 +0100)]
Fix premature overwriting of OLDTIME that resulted in time drifts never being detected

11 years agocmd_lusers Fix miscounting
attilamolnar [Wed, 27 Mar 2013 20:49:59 +0000 (21:49 +0100)]
cmd_lusers Fix miscounting

11 years agoMerge pull request #443 from ShutterQuick/sasl_external
Attila Molnar [Tue, 26 Mar 2013 16:41:48 +0000 (09:41 -0700)]
Merge pull request #443 from ShutterQuick/sasl_external

Added support for SASL EXTERNAL

11 years agoAdded support for EXTERNAL
Daniel Vassdal [Mon, 25 Mar 2013 14:04:26 +0000 (15:04 +0100)]
Added support for EXTERNAL

11 years agom_xline_db Fix pointless excessive stack usage in ReadDatabase()
attilamolnar [Mon, 17 Dec 2012 01:40:02 +0000 (02:40 +0100)]
m_xline_db Fix pointless excessive stack usage in ReadDatabase()

11 years agom_xline_db Major enhancements
attilamolnar [Mon, 17 Dec 2012 01:20:06 +0000 (02:20 +0100)]
m_xline_db Major enhancements

- Save database on a timer, not on every single change
- Use the internal database instead of keeping track of xlines ourselves

11 years agoAccept -c as a command line argument (equivalent to --config)
attilamolnar [Mon, 25 Mar 2013 14:18:20 +0000 (15:18 +0100)]
Accept -c as a command line argument (equivalent to --config)

11 years agoWin32: Rewrite the service wrapper
ChrisTX [Sat, 23 Mar 2013 22:52:51 +0000 (23:52 +0100)]
Win32: Rewrite the service wrapper

Edited original commit to pass MAX_PATH as nSize to GetModuleFileNameA() instead of 101 after approval from author @ChrisTX (Attila Molnar)

Fixes #404 reported by @crchauffe

11 years agoInitialize the FakeClient pointer in InspIRCd::InspIRCd()
attilamolnar [Sun, 24 Mar 2013 19:20:19 +0000 (20:20 +0100)]
Initialize the FakeClient pointer in InspIRCd::InspIRCd()

11 years agom_timedbans Notice halfops and above when a timed ban is placed
attilamolnar [Sun, 24 Mar 2013 18:11:36 +0000 (19:11 +0100)]
m_timedbans Notice halfops and above when a timed ban is placed

Fixes #415 reported by @killerrabbit

11 years agowin: Made config, modules, data, and log paths configurable.
Adam [Sun, 24 Mar 2013 03:47:25 +0000 (22:47 -0500)]
win: Made config, modules, data, and log paths configurable.
Update win/README with instructions on how to use cmake-gui.
Always build m_regex_stdlib, since all VS versions we support
support it.

11 years agoFix infinite loop when all DNS request slots are in use
attilamolnar [Wed, 20 Mar 2013 22:43:51 +0000 (23:43 +0100)]
Fix infinite loop when all DNS request slots are in use

This is not the best way to detect this scenario, a better detection mechanism will replace this in the future

11 years agoAdd support for mandatory tags in included config files
attilamolnar [Tue, 12 Mar 2013 17:21:21 +0000 (18:21 +0100)]
Add support for mandatory tags in included config files

If the mandatory tag is not found in the included config, the rehash is aborted. This is especially useful for remote includes, as it allows users to have a dummy tag at the end of the included config to indicate that the config has been wholly read.
This method does not depend on exit codes so even situations where wget returns an empty or a wrong page that we would otherwise accept can be detected and an error can be generated before we assume that the contents have disappeared (and unload all modules, if the included file is supposed to contain module tags, for example).

Usage: <include ... mandatorytag="namehere"> - if the included config doesn't contain a <namehere> tag then the rehash is aborted

Fixes #30 reported by @Justasic

11 years agom_spanningtree Fix incoming channel modes being lost for 0-user permanent channels...
attilamolnar [Wed, 13 Mar 2013 15:41:44 +0000 (16:41 +0100)]
m_spanningtree Fix incoming channel modes being lost for 0-user permanent channels on the losing side of a netmerge

This did not affect listmodes

11 years agom_permchannels Load channels from the config only at module load time and only when...
attilamolnar [Tue, 12 Mar 2013 19:45:02 +0000 (20:45 +0100)]
m_permchannels Load channels from the config only at module load time and only when there are no linked servers to avoid desync

11 years agom_connflood Ignore e-lined users
attilamolnar [Tue, 19 Mar 2013 17:06:22 +0000 (18:06 +0100)]
m_connflood Ignore e-lined users

11 years agoLink win32_memory too inspircd too
Adam [Fri, 15 Mar 2013 20:10:53 +0000 (15:10 -0500)]
Link win32_memory too inspircd too

11 years agom_ssl_openssl Make it clear that a CA file is not mandatory
attilamolnar [Tue, 12 Mar 2013 15:30:45 +0000 (16:30 +0100)]
m_ssl_openssl Make it clear that a CA file is not mandatory

11 years agoModified m_timedbans to behave more like setting mode +b manually.
ShutterQuick [Thu, 7 Mar 2013 19:23:47 +0000 (11:23 -0800)]
Modified m_timedbans to behave more like setting mode +b manually.
It now accepts extbans. If one enters something not an extban, or valid banmask, it'll add "!*@*", making it a nick-ban instead of borking.

11 years agoReplace Windows build system and installer with cmake
Adam [Thu, 14 Mar 2013 19:19:41 +0000 (15:19 -0400)]
Replace Windows build system and installer with cmake

11 years agoRemove dead code from DNS
attilamolnar [Mon, 11 Mar 2013 19:52:21 +0000 (20:52 +0100)]
Remove dead code from DNS

11 years agom_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, ignore e...
attilamolnar [Sun, 3 Mar 2013 22:20:12 +0000 (23:20 +0100)]
m_connectban Switch to OnSetUserIP hook to handle cgiirc users properly, ignore e-lined users