]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
15 years agoFix cloaking/invite exception for new extban checks
danieldg [Sun, 13 Sep 2009 20:33:27 +0000 (20:33 +0000)]
Fix cloaking/invite exception for new extban checks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11713 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix max-parameters in MODE command
danieldg [Sun, 13 Sep 2009 20:33:20 +0000 (20:33 +0000)]
Fix max-parameters in MODE command

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11712 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange match direction of extbans to allow stacking
danieldg [Sun, 13 Sep 2009 20:33:11 +0000 (20:33 +0000)]
Change match direction of extbans to allow stacking

This allows you create stacked bans like:
+b m:r:*bot* to mute anyone with bot in their gecos
+e S:j:+#staff to allow voices in #staff to use color

It also deprecates extban M, which can be implemented using m:R:

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11711 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoPrevent <include:executable> from running <include:executable> itself [jackmcbarn]
danieldg [Sun, 13 Sep 2009 20:33:03 +0000 (20:33 +0000)]
Prevent <include:executable> from running <include:executable> itself [jackmcbarn]

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11710 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoForce rebuild of symlinked modules when the source file changes
danieldg [Sun, 13 Sep 2009 20:32:55 +0000 (20:32 +0000)]
Force rebuild of symlinked modules when the source file changes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11709 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoGnuTLS: Send SSL client certificate when requested
danieldg [Sun, 13 Sep 2009 20:32:48 +0000 (20:32 +0000)]
GnuTLS: Send SSL client certificate when requested

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11708 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoClean up Command constructor
danieldg [Sun, 13 Sep 2009 20:32:27 +0000 (20:32 +0000)]
Clean up Command constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix GetPrefixChar returning empty if a non-prefix mode was used
danieldg [Sun, 13 Sep 2009 20:32:19 +0000 (20:32 +0000)]
Fix GetPrefixChar returning empty if a non-prefix mode was used

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11706 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoForgotten Extensible::Register invocations
danieldg [Sun, 13 Sep 2009 20:32:11 +0000 (20:32 +0000)]
Forgotten Extensible::Register invocations

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11705 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd SerializeFormat for easier metadata formatting
danieldg [Sun, 13 Sep 2009 20:32:03 +0000 (20:32 +0000)]
Add SerializeFormat for easier metadata formatting

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11704 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove redundant ServerInstance* fields
danieldg [Sun, 13 Sep 2009 20:31:54 +0000 (20:31 +0000)]
Remove redundant ServerInstance* fields

It has been impossible to have more than one InspIRCd* object in the
same address space for some time now, and this feature was never used.
This formalizes class InspIRCd as a singleton object.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse FindMode instead of FindPrefix for OnUserPreJoin privs; makes it possible to...
danieldg [Sun, 13 Sep 2009 20:31:45 +0000 (20:31 +0000)]
Use FindMode instead of FindPrefix for OnUserPreJoin privs; makes it possible to give +q or +Y on join even without prefix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11702 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSimplify ModeHandler constructor
danieldg [Sun, 13 Sep 2009 20:31:33 +0000 (20:31 +0000)]
Simplify ModeHandler constructor

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoReplace OnAccessCheck with OnPreMode to remove a number of redundant checks
danieldg [Sun, 13 Sep 2009 20:31:23 +0000 (20:31 +0000)]
Replace OnAccessCheck with OnPreMode to remove a number of redundant checks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11700 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoModule API changes to use Membership* where sensible
danieldg [Sun, 13 Sep 2009 20:31:11 +0000 (20:31 +0000)]
Module API changes to use Membership* where sensible

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove double prefix conversion from Channel::RawWriteAllExcept
danieldg [Sun, 13 Sep 2009 20:31:03 +0000 (20:31 +0000)]
Remove double prefix conversion from Channel::RawWriteAllExcept

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11698 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMembership* changes
danieldg [Sun, 13 Sep 2009 20:30:47 +0000 (20:30 +0000)]
Membership* changes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange Extensible to use strongly typed entries
danieldg [Sun, 13 Sep 2009 20:30:25 +0000 (20:30 +0000)]
Change Extensible to use strongly typed entries

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUpdated svn:ignore
special [Sun, 13 Sep 2009 19:27:42 +0000 (19:27 +0000)]
Updated svn:ignore

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11693 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't allow /who to match servers when HideWhoisServer is enabled (unless the user...
special [Sun, 13 Sep 2009 19:26:55 +0000 (19:26 +0000)]
Don't allow /who to match servers when HideWhoisServer is enabled (unless the user has the privilege)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11692 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoreally fix segfault when using ojoin in already-joined channel
danieldg [Wed, 9 Sep 2009 21:59:12 +0000 (21:59 +0000)]
really fix segfault when using ojoin in already-joined channel

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11690 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix segfault when using ojoin in already-joined channel
danieldg [Wed, 9 Sep 2009 21:43:05 +0000 (21:43 +0000)]
Fix segfault when using ojoin in already-joined channel

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11689 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix invalid iterator in select socketengine, clean up its memory use a bit too
danieldg [Wed, 9 Sep 2009 19:28:42 +0000 (19:28 +0000)]
Fix invalid iterator in select socketengine, clean up its memory use a bit too

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11687 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAllow OJOIN to be used when already in the target channel
danieldg [Wed, 9 Sep 2009 19:28:34 +0000 (19:28 +0000)]
Allow OJOIN to be used when already in the target channel

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11686 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCompile fix
danieldg [Sun, 6 Sep 2009 20:28:50 +0000 (20:28 +0000)]
Compile fix

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11685 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix rehash unloading core commands
danieldg [Sun, 6 Sep 2009 20:23:42 +0000 (20:23 +0000)]
Fix rehash unloading core commands

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11684 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoCorrect ModDesc.
w00t [Sun, 6 Sep 2009 14:32:04 +0000 (14:32 +0000)]
Correct ModDesc.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11683 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDocument <permchanneldb> tag.
w00t [Sat, 5 Sep 2009 22:50:29 +0000 (22:50 +0000)]
Document <permchanneldb> tag.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11680 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUtilise OnRawMode and OnPostTopicChange hooks to write a dynamic conf of permchannels...
w00t [Sat, 5 Sep 2009 22:48:12 +0000 (22:48 +0000)]
Utilise OnRawMode and OnPostTopicChange hooks to write a dynamic conf of permchannels tags to a configurable location, so it's just a matter of <include file="../bin/permchannels.conf"> or something.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11679 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoLikewise, convert OnLocalTopicChange to OnPreTopicChange and to be run for both local...
w00t [Sat, 5 Sep 2009 22:48:00 +0000 (22:48 +0000)]
Likewise, convert OnLocalTopicChange to OnPreTopicChange and to be run for both local and remote changes, for API consistency.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11678 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange OnPostLocalTopicChange to be OnPostTopicChange, invoked for both remote and...
w00t [Sat, 5 Sep 2009 22:47:46 +0000 (22:47 +0000)]
Change OnPostLocalTopicChange to be OnPostTopicChange, invoked for both remote and local events. Will be needed for some xline trickery.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11677 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoBump a number of version numbers.
w00t [Sat, 5 Sep 2009 14:41:36 +0000 (14:41 +0000)]
Bump a number of version numbers.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11676 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix auditorium trimming kick messages to the first word (reported on forum topic...
w00t [Sat, 5 Sep 2009 14:34:17 +0000 (14:34 +0000)]
Fix auditorium trimming kick messages to the first word (reported on forum topic 6453).

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11674 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoExample config updates
danieldg [Fri, 4 Sep 2009 14:56:13 +0000 (14:56 +0000)]
Example config updates

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11673 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove HandleInternal and HandleServer, they are duplicated by Request* and FakeUser
danieldg [Thu, 3 Sep 2009 21:06:44 +0000 (21:06 +0000)]
Remove HandleInternal and HandleServer, they are duplicated by Request* and FakeUser

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11672 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove CMD_LOCALONLY, enforce use of GetRouting for routed commands
danieldg [Thu, 3 Sep 2009 15:53:15 +0000 (15:53 +0000)]
Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't reassign NPrefix on rehash, its change requires a reloadmodule (noticed by...
danieldg [Thu, 3 Sep 2009 02:35:12 +0000 (02:35 +0000)]
Don't reassign NPrefix on rehash, its change requires a reloadmodule (noticed by Taros)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11670 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd Network Buisness Join module by Taros; adapted to 2.0
danieldg [Thu, 3 Sep 2009 02:30:45 +0000 (02:30 +0000)]
Add Network Buisness Join module by Taros; adapted to 2.0

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11669 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange cmd_*.so to use the Module object API
danieldg [Thu, 3 Sep 2009 02:30:12 +0000 (02:30 +0000)]
Change cmd_*.so to use the Module object API

Create Module* objects for each command, and load them like modules.
This unifies the external API for modules.

Library directory is now deprecated: all modules are located in a
single module directory.

Header files for each command are no longer needed; remove.

This also fixes two potential segfaults in m_spanningtree.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11668 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove COMPILE_ROOT and MAKESTYLE variables
danieldg [Thu, 3 Sep 2009 02:30:03 +0000 (02:30 +0000)]
Remove COMPILE_ROOT and MAKESTYLE variables

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11667 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoInclude VERSION/REVISION information in module version tag, so that we do no longer...
danieldg [Wed, 2 Sep 2009 18:33:16 +0000 (18:33 +0000)]
Include VERSION/REVISION information in module version tag, so that we do no longer rely on $Id$

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11666 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove TAXONOMY as its functionality is duplicated by CHECK
danieldg [Wed, 2 Sep 2009 15:37:53 +0000 (15:37 +0000)]
Remove TAXONOMY as its functionality is duplicated by CHECK

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11665 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd away timestamp to the AWAY message sent server-server
danieldg [Wed, 2 Sep 2009 15:37:46 +0000 (15:37 +0000)]
Add away timestamp to the AWAY message sent server-server

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11664 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd 1201 protocol compatability for SAVE
danieldg [Wed, 2 Sep 2009 15:37:38 +0000 (15:37 +0000)]
Add 1201 protocol compatability for SAVE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11663 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd inspircd_config.h to hash_map so that it can be used independently
danieldg [Wed, 2 Sep 2009 15:37:31 +0000 (15:37 +0000)]
Add inspircd_config.h to hash_map so that it can be used independently

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11662 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoSend out save SAVE on forced-UUID nick change of a remote user
danieldg [Wed, 2 Sep 2009 15:37:24 +0000 (15:37 +0000)]
Send out save SAVE on forced-UUID nick change of a remote user

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11661 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd SAVE s2s protocol command
danieldg [Wed, 2 Sep 2009 15:37:16 +0000 (15:37 +0000)]
Add SAVE s2s protocol command

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11660 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd more comments here
brain [Wed, 2 Sep 2009 01:06:02 +0000 (01:06 +0000)]
Add more comments here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11659 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemote user messaging fixes
danieldg [Wed, 2 Sep 2009 00:53:03 +0000 (00:53 +0000)]
Remote user messaging fixes

Add format string output to DumpText
Fix PI->PushToClient prefixing issue
Fix ENCAP routing to use SID rather than server name

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11658 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd modules to the VF_COMMON list in backwards compatability link mode, translate...
danieldg [Wed, 2 Sep 2009 00:52:54 +0000 (00:52 +0000)]
Add modules to the VF_COMMON list in backwards compatability link mode, translate FIDENT as CHGIDENT

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd s2s backward compatability for protocol changes
danieldg [Wed, 2 Sep 2009 00:52:46 +0000 (00:52 +0000)]
Add s2s backward compatability for protocol changes

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11656 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix segfault in m_chanprotect when OnAccessCheck is called with a null channel
danieldg [Wed, 2 Sep 2009 00:52:38 +0000 (00:52 +0000)]
Fix segfault in m_chanprotect when OnAccessCheck is called with a null channel

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11655 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange more modules to use VF_OPTCOMMON routing
danieldg [Wed, 2 Sep 2009 00:52:28 +0000 (00:52 +0000)]
Change more modules to use VF_OPTCOMMON routing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11654 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRoute CHGHOST/CHGNAME/CHGIDENT using optional unicast routing
danieldg [Wed, 2 Sep 2009 00:52:21 +0000 (00:52 +0000)]
Route CHGHOST/CHGNAME/CHGIDENT using optional unicast routing

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11653 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd OnChangeIdent and FIDENT support
danieldg [Wed, 2 Sep 2009 00:52:12 +0000 (00:52 +0000)]
Add OnChangeIdent and FIDENT support

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11652 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake CHECK work remotely with optional second parameter
danieldg [Wed, 2 Sep 2009 00:52:04 +0000 (00:52 +0000)]
Make CHECK work remotely with optional second parameter

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11651 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd OnSendWhoLine hook, and use it in the oper hiding modules
danieldg [Wed, 2 Sep 2009 00:51:56 +0000 (00:51 +0000)]
Add OnSendWhoLine hook, and use it in the oper hiding modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11650 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix memory leak and invalid vtable location on unload of m_sslinfo
danieldg [Wed, 2 Sep 2009 00:51:48 +0000 (00:51 +0000)]
Fix memory leak and invalid vtable location on unload of m_sslinfo

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11649 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't merge FMODEs with a non-server source
danieldg [Wed, 2 Sep 2009 00:51:41 +0000 (00:51 +0000)]
Don't merge FMODEs with a non-server source

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11648 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange SAMODE to source from the acting user, not the server
danieldg [Wed, 2 Sep 2009 00:51:33 +0000 (00:51 +0000)]
Change SAMODE to source from the acting user, not the server

This is a merge of the OOMODE command into SAMODE.
This fixes SAMODE not working because of mode merging.
An additional access check for umode changes is added for this command.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11647 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoDon't pass NULL source for hooks invoked from server-sourced PRIVMSG/NOTICE
danieldg [Wed, 2 Sep 2009 00:51:26 +0000 (00:51 +0000)]
Don't pass NULL source for hooks invoked from server-sourced PRIVMSG/NOTICE

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11646 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agom_dnsbl: Change ident marking to a generic "MARK" that allows ident and/or vhost...
danieldg [Wed, 2 Sep 2009 00:51:19 +0000 (00:51 +0000)]
m_dnsbl: Change ident marking to a generic "MARK" that allows ident and/or vhost to be set

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11645 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd ident change action to m_dnsbl [patch by cytrix]
danieldg [Wed, 2 Sep 2009 00:51:12 +0000 (00:51 +0000)]
Add ident change action to m_dnsbl [patch by cytrix]

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11644 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoinline Channel::IsModeSet
danieldg [Wed, 2 Sep 2009 00:51:04 +0000 (00:51 +0000)]
inline Channel::IsModeSet

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11643 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd initial query support to m_mysql [patch by Athenon]
danieldg [Wed, 2 Sep 2009 00:50:58 +0000 (00:50 +0000)]
Add initial query support to m_mysql [patch by Athenon]

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11642 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix segfault due to invalidated iterator
danieldg [Wed, 2 Sep 2009 00:50:50 +0000 (00:50 +0000)]
Fix segfault due to invalidated iterator

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11641 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRip out VisData in preparation for replacing it with more flexible hooks
danieldg [Wed, 2 Sep 2009 00:50:43 +0000 (00:50 +0000)]
Rip out VisData in preparation for replacing it with more flexible hooks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11640 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix some ICC-found warnings and remove unused #define
danieldg [Wed, 2 Sep 2009 00:50:35 +0000 (00:50 +0000)]
Fix some ICC-found warnings and remove unused #define

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11639 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd server IP to /CHECK output for local users
danieldg [Wed, 2 Sep 2009 00:50:28 +0000 (00:50 +0000)]
Add server IP to /CHECK output for local users

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11638 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove now-unused quitmsg/operquitmsg fields from User
danieldg [Wed, 2 Sep 2009 00:50:21 +0000 (00:50 +0000)]
Remove now-unused quitmsg/operquitmsg fields from User

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11637 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMove user quit logic out of cull list
danieldg [Wed, 2 Sep 2009 00:50:12 +0000 (00:50 +0000)]
Move user quit logic out of cull list

This changes the cull list from a list of User* that ran special cleanup
to a list of classbase* that simply deletes the objects.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11636 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRewrite BindPorts to index ports by their human-readable description
danieldg [Wed, 2 Sep 2009 00:50:04 +0000 (00:50 +0000)]
Rewrite BindPorts to index ports by their human-readable description

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11635 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoModResult conversion: Change return type of all module functions
danieldg [Wed, 2 Sep 2009 00:49:36 +0000 (00:49 +0000)]
ModResult conversion: Change return type of all module functions

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove "servermode" parameter, replace with IS_FAKE() which is more reliable
danieldg [Wed, 2 Sep 2009 00:49:24 +0000 (00:49 +0000)]
Remove "servermode" parameter, replace with IS_FAKE() which is more reliable

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove duplicated address conversion from InspIRCd::BindSocket, fix FD leak in listen...
danieldg [Wed, 2 Sep 2009 00:49:15 +0000 (00:49 +0000)]
Remove duplicated address conversion from InspIRCd::BindSocket, fix FD leak in listensocket

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11632 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd Module* creator to Command and ModeHandler
danieldg [Wed, 2 Sep 2009 00:48:48 +0000 (00:48 +0000)]
Add Module* creator to Command and ModeHandler

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRecord module source file in the Module object
danieldg [Wed, 2 Sep 2009 00:48:39 +0000 (00:48 +0000)]
Record module source file in the Module object

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11630 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoUse a set to mark client SSL ports rather than going by textual IP/port pairs
danieldg [Wed, 2 Sep 2009 00:48:32 +0000 (00:48 +0000)]
Use a set to mark client SSL ports rather than going by textual IP/port pairs

This theoretically speeds up accepting connections. Visible changes are proper
IPv6 port text in 005 output and no possibility of incorrect SSL on addresses
that mismatch an incoming port (possible with IPv4 wildcard SSL and IPv6
plaintext on the same port, not that anyone would do such a thing). Bind ports
also now tell which SSL module they use in /stats p.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11629 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoChange OnHookUserIO to OnHookIO, making it usable for more than User* and less picky...
danieldg [Wed, 2 Sep 2009 00:48:23 +0000 (00:48 +0000)]
Change OnHookUserIO to OnHookIO, making it usable for more than User* and less picky on string matching

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11628 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd irc::sockets::satouser for user-readable IP/port pairs
danieldg [Wed, 2 Sep 2009 00:48:16 +0000 (00:48 +0000)]
Add irc::sockets::satouser for user-readable IP/port pairs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11627 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAllow voice or higher users to speak even when a matching muteban exists
danieldg [Wed, 2 Sep 2009 00:48:09 +0000 (00:48 +0000)]
Allow voice or higher users to speak even when a matching muteban exists

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11626 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRoute whois notices using ENCAP WHOISNOTICE to properly fix remote user PrivPermissio...
danieldg [Wed, 2 Sep 2009 00:48:02 +0000 (00:48 +0000)]
Route whois notices using ENCAP WHOISNOTICE to properly fix remote user PrivPermission bug

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11625 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove empty permanent channels when m_permchannels is unloaded
danieldg [Wed, 2 Sep 2009 00:47:54 +0000 (00:47 +0000)]
Remove empty permanent channels when m_permchannels is unloaded

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11624 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove calls to strdup() in core, it is not better than std::string
danieldg [Wed, 2 Sep 2009 00:47:45 +0000 (00:47 +0000)]
Remove calls to strdup() in core, it is not better than std::string

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove strnewdup(), it is a good source of possible memory leaks
danieldg [Wed, 2 Sep 2009 00:47:36 +0000 (00:47 +0000)]
Remove strnewdup(), it is a good source of possible memory leaks

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11622 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMore deallocation-at-exit cleanup
danieldg [Wed, 2 Sep 2009 00:47:29 +0000 (00:47 +0000)]
More deallocation-at-exit cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11621 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMake VF_OPTCOMMON module mismatches a fatal link error by default
danieldg [Wed, 2 Sep 2009 00:47:22 +0000 (00:47 +0000)]
Make VF_OPTCOMMON module mismatches a fatal link error by default

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11620 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoAdd VF_OPTCOMMON for optionally common modules
danieldg [Wed, 2 Sep 2009 00:47:14 +0000 (00:47 +0000)]
Add VF_OPTCOMMON for optionally common modules

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11619 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMisc removal of pointless Extend strings
danieldg [Wed, 2 Sep 2009 00:47:05 +0000 (00:47 +0000)]
Misc removal of pointless Extend strings

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11618 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoThreadWindows: Remove ThreadSignalListener and connect the socket right away
danieldg [Wed, 2 Sep 2009 00:46:58 +0000 (00:46 +0000)]
ThreadWindows: Remove ThreadSignalListener and connect the socket right away

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11617 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoValgrind cleanup: fix segfault on exit
danieldg [Wed, 2 Sep 2009 00:46:51 +0000 (00:46 +0000)]
Valgrind cleanup: fix segfault on exit

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11616 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoValgrind cleanup: finish destructor creation
danieldg [Wed, 2 Sep 2009 00:46:44 +0000 (00:46 +0000)]
Valgrind cleanup: finish destructor creation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11615 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoValgrind cleanup: deallocate RFC modes, clientlist, and uuidlist
danieldg [Wed, 2 Sep 2009 00:46:36 +0000 (00:46 +0000)]
Valgrind cleanup: deallocate RFC modes, clientlist, and uuidlist

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11614 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoValgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands
danieldg [Wed, 2 Sep 2009 00:46:29 +0000 (00:46 +0000)]
Valgrind cleanup: Add RemoveRFCCommands() to dlclose() and delete the core commands

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11613 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoFix valgrind uninitialised memory error
danieldg [Wed, 2 Sep 2009 00:46:21 +0000 (00:46 +0000)]
Fix valgrind uninitialised memory error

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11612 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove unneeded Extensible inheritance and remove "age" field from classbase
danieldg [Wed, 2 Sep 2009 00:46:11 +0000 (00:46 +0000)]
Remove unneeded Extensible inheritance and remove "age" field from classbase

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11611 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove misleading byte counts from stats z
danieldg [Wed, 2 Sep 2009 00:46:03 +0000 (00:46 +0000)]
Remove misleading byte counts from stats z

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11610 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoInclude untranslated user/channel metadata in CHECK output
danieldg [Wed, 2 Sep 2009 00:45:55 +0000 (00:45 +0000)]
Include untranslated user/channel metadata in CHECK output

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11609 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoRemove useless vector copy
danieldg [Wed, 2 Sep 2009 00:45:49 +0000 (00:45 +0000)]
Remove useless vector copy

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11608 e03df62e-2008-0410-955e-edbf42e46eb7

15 years agoMetaData rework
danieldg [Wed, 2 Sep 2009 00:45:37 +0000 (00:45 +0000)]
MetaData rework

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11607 e03df62e-2008-0410-955e-edbf42e46eb7