9762 Commits

Author SHA1 Message Date
danieldg
75a158fe63 Fix automated metadata decoding with ExtItem
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11715 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:33:41 +00:00
danieldg
2307fd05b2 Fix REMOVE maxparams
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11714 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:33:34 +00:00
danieldg
49a21413ee Fix cloaking/invite exception for new extban checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11713 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:33:27 +00:00
danieldg
060e401cdb Fix max-parameters in MODE command
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11712 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:33:20 +00:00
danieldg
2d732f4dbf 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
2009-09-13 20:33:11 +00:00
danieldg
36a6e7f22e 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
2009-09-13 20:33:03 +00:00
danieldg
4d1e32528f 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
2009-09-13 20:32:55 +00:00
danieldg
f4ccba3b6c GnuTLS: Send SSL client certificate when requested
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11708 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:48 +00:00
danieldg
069a2ef214 Clean up Command constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:27 +00:00
danieldg
ca1b136b30 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
2009-09-13 20:32:19 +00:00
danieldg
40dc59986b Forgotten Extensible::Register invocations
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11705 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:11 +00:00
danieldg
0ed3ef9dee Add SerializeFormat for easier metadata formatting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11704 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:32:03 +00:00
danieldg
d9e3bb8d43 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
2009-09-13 20:31:54 +00:00
danieldg
8f9dafbfa3 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
2009-09-13 20:31:45 +00:00
danieldg
1524caf2f7 Simplify ModeHandler constructor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:31:33 +00:00
danieldg
7892c8a031 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
2009-09-13 20:31:23 +00:00
danieldg
b4be0c94ab Module API changes to use Membership* where sensible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11699 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:31:11 +00:00
danieldg
ace3d85982 Remove double prefix conversion from Channel::RawWriteAllExcept
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11698 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:31:03 +00:00
danieldg
91df762e93 Membership* changes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11697 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:30:47 +00:00
danieldg
6d57bbe05c Change Extensible to use strongly typed entries
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11696 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 20:30:25 +00:00
special
7eea21b8d4 Updated svn:ignore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11693 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-13 19:27:42 +00:00
special
933c31331b 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
2009-09-13 19:26:55 +00:00
danieldg
dc88f5153a 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
2009-09-09 21:59:12 +00:00
danieldg
5a8e55a8e4 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
2009-09-09 21:43:05 +00:00
danieldg
c11ec1cd38 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
2009-09-09 19:28:42 +00:00
danieldg
d5411d0625 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
2009-09-09 19:28:34 +00:00
danieldg
c40ce68710 Compile fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11685 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-06 20:28:50 +00:00
danieldg
c630870d50 Fix rehash unloading core commands
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11684 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-06 20:23:42 +00:00
w00t
62ea718ea6 Correct ModDesc.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11683 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-06 14:32:04 +00:00
w00t
511166ef7f Document <permchanneldb> tag.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11680 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-05 22:50:29 +00:00
w00t
ff8ba4135c 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
2009-09-05 22:48:12 +00:00
w00t
b49d529981 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
2009-09-05 22:48:00 +00:00
w00t
b6decc75f2 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
2009-09-05 22:47:46 +00:00
w00t
3f647b9c16 Bump a number of version numbers.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11676 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-05 14:41:36 +00:00
w00t
665023f3cc 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
2009-09-05 14:34:17 +00:00
danieldg
fde6c74477 Example config updates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11673 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-04 14:56:13 +00:00
danieldg
17fd32bf74 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
2009-09-03 21:06:44 +00:00
danieldg
1c1c5fc3f0 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
2009-09-03 15:53:15 +00:00
danieldg
b45dcb19d3 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
2009-09-03 02:35:12 +00:00
danieldg
f714b2b964 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
2009-09-03 02:30:45 +00:00
danieldg
f4472dd6dc 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
2009-09-03 02:30:12 +00:00
danieldg
c29175d806 Remove COMPILE_ROOT and MAKESTYLE variables
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11667 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-03 02:30:03 +00:00
danieldg
3e26f42a8f 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
2009-09-02 18:33:16 +00:00
danieldg
7f88980dd2 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
2009-09-02 15:37:53 +00:00
danieldg
b1002b7df5 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
2009-09-02 15:37:46 +00:00
danieldg
62e2d69343 Add 1201 protocol compatability for SAVE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11663 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 15:37:38 +00:00
danieldg
9dde0b1b33 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
2009-09-02 15:37:31 +00:00
danieldg
662e5593af 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
2009-09-02 15:37:24 +00:00
danieldg
789fc05c20 Add SAVE s2s protocol command
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11660 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 15:37:16 +00:00
brain
bec20ca453 Add more comments here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11659 e03df62e-2008-0410-955e-edbf42e46eb7
2009-09-02 01:06:02 +00:00