]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
14 years agoUpdate svn:ignore and .gitignore
danieldg [Mon, 28 Sep 2009 22:39:07 +0000 (22:39 +0000)]
Update svn:ignore and .gitignore

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

14 years agoFix compilation of some extras modules
danieldg [Mon, 28 Sep 2009 22:25:43 +0000 (22:25 +0000)]
Fix compilation of some extras modules

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

14 years agoWork around BSD make chdir bug with symlinks
danieldg [Mon, 28 Sep 2009 15:39:46 +0000 (15:39 +0000)]
Work around BSD make chdir bug with symlinks

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

14 years agoFix linking errors on BSD
danieldg [Mon, 28 Sep 2009 02:21:43 +0000 (02:21 +0000)]
Fix linking errors on BSD

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

14 years agoFix compile errors on BSD
danieldg [Mon, 28 Sep 2009 01:59:21 +0000 (01:59 +0000)]
Fix compile errors on BSD

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

14 years agoAdd directory change to unit-cc, to fix the immensely stupid BSD make behavior of...
danieldg [Mon, 28 Sep 2009 01:43:47 +0000 (01:43 +0000)]
Add directory change to unit-cc, to fix the immensely stupid BSD make behavior of changing directories

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

14 years agoFix warnings from BSD build and work around the failures of BSD make
danieldg [Mon, 28 Sep 2009 00:55:42 +0000 (00:55 +0000)]
Fix warnings from BSD build and work around the failures of BSD make

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

14 years agoBuildsystem updates
danieldg [Sun, 27 Sep 2009 22:14:25 +0000 (22:14 +0000)]
Buildsystem updates

Add required compilation flags for interix
Fix build when perl is not in /usr/bin
Clean up unused file masks from .gitignore

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

14 years agoFix modules/extra symlinks when calculating dependencies
danieldg [Sun, 27 Sep 2009 14:37:04 +0000 (14:37 +0000)]
Fix modules/extra symlinks when calculating dependencies

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

14 years agoSendQ bugfixes
danieldg [Sun, 27 Sep 2009 00:22:29 +0000 (00:22 +0000)]
SendQ bugfixes

Fix DoWrite running on errored sockets
Add testnet module for sendq and shutdown testing
Prevent DoWrite from trying to write when writes are blocking

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

14 years agoCompile fixes and message updates
danieldg [Sat, 26 Sep 2009 17:28:25 +0000 (17:28 +0000)]
Compile fixes and message updates

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

14 years agoFlexible SendQ
danieldg [Sat, 26 Sep 2009 16:41:07 +0000 (16:41 +0000)]
Flexible SendQ

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

14 years agoChange IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to clarify...
danieldg [Sat, 26 Sep 2009 16:40:58 +0000 (16:40 +0000)]
Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to clarify their use

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

14 years agoClean up svn:keywords
danieldg [Sat, 26 Sep 2009 14:28:49 +0000 (14:28 +0000)]
Clean up svn:keywords

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

14 years agoRemove InspIRCd* parameters and fields
danieldg [Sat, 26 Sep 2009 14:13:13 +0000 (14:13 +0000)]
Remove InspIRCd* parameters and fields

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

14 years agoAdd FD_WANT_SINGLE_WRITE to efficiently replace FD_WANT_POLL_WRITE
danieldg [Sat, 26 Sep 2009 14:12:45 +0000 (14:12 +0000)]
Add FD_WANT_SINGLE_WRITE to efficiently replace FD_WANT_POLL_WRITE

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

14 years agoTake advantage of FD_READ_WILL_BLOCK and FD_WRITE_WILL_BLOCK to reduce syscalls run...
danieldg [Sat, 26 Sep 2009 14:12:32 +0000 (14:12 +0000)]
Take advantage of FD_READ_WILL_BLOCK and FD_WRITE_WILL_BLOCK to reduce syscalls run by gnutls

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

14 years agoClean up SocketEngine interface to allow edge-triggered I/O and sockets that do not...
danieldg [Sat, 26 Sep 2009 01:43:09 +0000 (01:43 +0000)]
Clean up SocketEngine interface to allow edge-triggered I/O and sockets that do not force readability.

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

14 years agoMove configuration filename specification to start script, to reduce hardcoded paths...
danieldg [Thu, 24 Sep 2009 01:44:29 +0000 (01:44 +0000)]
Move configuration filename specification to start script, to reduce hardcoded paths in executable

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

14 years agoRun configure -update on all svn/git changes
danieldg [Tue, 22 Sep 2009 01:06:00 +0000 (01:06 +0000)]
Run configure -update on all svn/git changes

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

14 years agoDescribe module purpose in /MODULES output
danieldg [Tue, 22 Sep 2009 01:05:35 +0000 (01:05 +0000)]
Describe module purpose in /MODULES output

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

14 years agoImprove speed of SSL sendq processing
danieldg [Mon, 21 Sep 2009 21:39:52 +0000 (21:39 +0000)]
Improve speed of SSL sendq processing

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

14 years agoFix RSQUIT/RCONNECT routing
danieldg [Mon, 21 Sep 2009 19:54:24 +0000 (19:54 +0000)]
Fix RSQUIT/RCONNECT routing

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

14 years agoAllow objects to be added to cull list during apply - fixes user deletion on netsplit
danieldg [Mon, 21 Sep 2009 18:42:47 +0000 (18:42 +0000)]
Allow objects to be added to cull list during apply - fixes user deletion on netsplit

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

14 years agoDon't try to write to dead users, add debug to SquitServer, and remove a string copy...
danieldg [Mon, 21 Sep 2009 17:16:28 +0000 (17:16 +0000)]
Don't try to write to dead users, add debug to SquitServer, and remove a string copy in spanningtree write

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

14 years agoCreate StreamSocket for IO hooking implementation
danieldg [Mon, 21 Sep 2009 13:26:31 +0000 (13:26 +0000)]
Create StreamSocket for IO hooking implementation

Fixes the SSL SendQ bug
Removes duplicate code between User and BufferedSocket
Simplify SSL module API
Simplify EventHandler API (Readable/Writeable moved to SE)
Add hook for culled objects to invoke callbacks prior to destructor
 Replace SocketCull with GlobalCull now that sockets can close themselves
Shorten common case of user read/parse/write path:
 User::Write is now zero-copy up to syscall/SSL invocation
 User::Read has only two copy/scan passes from read() to ProcessCommand

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

14 years agoRemove mistaken duplicate check for fake users
danieldg [Mon, 21 Sep 2009 02:11:32 +0000 (02:11 +0000)]
Remove mistaken duplicate check for fake users

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

14 years agoAlways use user->SplitChanList in whois reply [jackmcbarn]
danieldg [Mon, 21 Sep 2009 02:10:12 +0000 (02:10 +0000)]
Always use user->SplitChanList in whois reply [jackmcbarn]

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

14 years agoAdd channames module [jackmcbarn]
danieldg [Mon, 21 Sep 2009 02:08:55 +0000 (02:08 +0000)]
Add channames module [jackmcbarn]

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

14 years agoPrevent fake users from quitting
danieldg [Mon, 21 Sep 2009 02:08:41 +0000 (02:08 +0000)]
Prevent fake users from quitting

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

14 years agoSeparate spy channels [jackmcbarn]
danieldg [Fri, 18 Sep 2009 17:07:13 +0000 (17:07 +0000)]
Separate spy channels [jackmcbarn]

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

14 years agoFix unit-cc when build is not a direct subdirectory of source; create make rule for...
danieldg [Fri, 18 Sep 2009 14:05:49 +0000 (14:05 +0000)]
Fix unit-cc when build is not a direct subdirectory of source; create make rule for GNUmakefile

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

14 years agoRemove SID from /map for non-opers, and add it to non-spanningtree for opers [dKingston]
danieldg [Thu, 17 Sep 2009 23:50:43 +0000 (23:50 +0000)]
Remove SID from /map for non-opers, and add it to non-spanningtree for opers [dKingston]

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

14 years agoPrevent fake users from quitting
danieldg [Thu, 17 Sep 2009 23:13:50 +0000 (23:13 +0000)]
Prevent fake users from quitting

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

14 years agoConfiguration update from jdhore
danieldg [Thu, 17 Sep 2009 22:36:46 +0000 (22:36 +0000)]
Configuration update from jdhore

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

14 years agoAdd <autoconnect> blocks [jackmcbarn]
danieldg [Thu, 17 Sep 2009 22:33:35 +0000 (22:33 +0000)]
Add <autoconnect> blocks [jackmcbarn]

Replaces <link:failover> and <link:autoconnect>

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

14 years agomodulemanger: check dependencies correctly
danieldg [Thu, 17 Sep 2009 17:45:40 +0000 (17:45 +0000)]
modulemanger: check dependencies correctly

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

14 years agoUpdate make help, configure, and fix build of empty m_* directories
danieldg [Thu, 17 Sep 2009 14:13:17 +0000 (14:13 +0000)]
Update make help, configure, and fix build of empty m_* directories

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

14 years agoRemove .*.d dependency garbage, and use a dedicated build directory
danieldg [Thu, 17 Sep 2009 03:04:27 +0000 (03:04 +0000)]
Remove .*.d dependency garbage, and use a dedicated build directory

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

14 years agoDon't let R-lines be bancached [jackmcbarn]
danieldg [Wed, 16 Sep 2009 22:50:58 +0000 (22:50 +0000)]
Don't let R-lines be bancached [jackmcbarn]

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

14 years agoAdd support for zline on rline [jackmcbarn]
danieldg [Wed, 16 Sep 2009 22:50:51 +0000 (22:50 +0000)]
Add support for zline on rline [jackmcbarn]

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

14 years agoAttempt to revert r11734
danieldg [Wed, 16 Sep 2009 22:42:36 +0000 (22:42 +0000)]
Attempt to revert r11734

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

14 years agoMerge commands and modules in source, since they are already merged in install
danieldg [Wed, 16 Sep 2009 20:16:26 +0000 (20:16 +0000)]
Merge commands and modules in source, since they are already merged in install

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

14 years agoAllow make on a read-only source tree using make O=objdir
danieldg [Wed, 16 Sep 2009 20:00:15 +0000 (20:00 +0000)]
Allow make on a read-only source tree using make O=objdir

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

14 years agoFix iteration of ServerInstance->Users->local_users now that QuitUser can modify...
danieldg [Wed, 16 Sep 2009 13:45:46 +0000 (13:45 +0000)]
Fix iteration of ServerInstance->Users->local_users now that QuitUser can modify the vector

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

14 years agoMake end of netburst SNOMASK REMOTELINK unless servers are directly linked [jackmcbarn]
danieldg [Tue, 15 Sep 2009 21:44:44 +0000 (21:44 +0000)]
Make end of netburst SNOMASK REMOTELINK unless servers are directly linked [jackmcbarn]

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

14 years agoRemove Extensible items from user, channel, and Membership on module unload
danieldg [Tue, 15 Sep 2009 21:25:30 +0000 (21:25 +0000)]
Remove Extensible items from user, channel, and Membership on module unload

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

14 years agoFix null ExtensionItem when unregistering hooks; fix CORE_FLAGS on darwin
danieldg [Tue, 15 Sep 2009 21:25:21 +0000 (21:25 +0000)]
Fix null ExtensionItem when unregistering hooks; fix CORE_FLAGS on darwin

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

14 years agoWhere there are hidden servers, report the /map server count as the hidden count...
brain [Tue, 15 Sep 2009 17:30:25 +0000 (17:30 +0000)]
Where there are hidden servers, report the /map server count as the hidden count if the user cant see these servers. and
calculate the user average over this number of servers too. -- Reported by Syloq, thanks!

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

14 years agoFix quoting in permchannels DB, discovered by jackmcbarn (could result in command...
danieldg [Tue, 15 Sep 2009 16:24:17 +0000 (16:24 +0000)]
Fix quoting in permchannels DB, discovered by jackmcbarn (could result in command execution)

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

14 years agoProperly spacify opertypes in error messages. Patch by dKingston
special [Mon, 14 Sep 2009 22:06:47 +0000 (22:06 +0000)]
Properly spacify opertypes in error messages. Patch by dKingston

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

14 years agoImprove link error message on SSL fingerprint mismatch
danieldg [Mon, 14 Sep 2009 20:25:09 +0000 (20:25 +0000)]
Improve link error message on SSL fingerprint mismatch

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

14 years agoFix incorrect min/max parameters on commands
danieldg [Mon, 14 Sep 2009 20:24:25 +0000 (20:24 +0000)]
Fix incorrect min/max parameters on commands

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

14 years agoIntroduce "X" snomask for remote *:line messages [patch by jackmcbarn]
danieldg [Mon, 14 Sep 2009 17:09:16 +0000 (17:09 +0000)]
Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]

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

14 years agoFix OnHostCycle in m_delayjoin [patch by dKingston]
danieldg [Mon, 14 Sep 2009 17:09:09 +0000 (17:09 +0000)]
Fix OnHostCycle in m_delayjoin [patch by dKingston]

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

14 years agoFix compile warning
danieldg [Mon, 14 Sep 2009 17:09:01 +0000 (17:09 +0000)]
Fix compile warning

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

14 years agoClarify <include:executable> error message
danieldg [Sun, 13 Sep 2009 20:34:04 +0000 (20:34 +0000)]
Clarify <include:executable> error message

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

14 years agoFix access checks on chanprotect preventing use of SAMODE
danieldg [Sun, 13 Sep 2009 20:33:56 +0000 (20:33 +0000)]
Fix access checks on chanprotect preventing use of SAMODE

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

14 years agoTranslate TR_NICK back from UID on mode parse
danieldg [Sun, 13 Sep 2009 20:33:48 +0000 (20:33 +0000)]
Translate TR_NICK back from UID on mode parse

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

14 years agoFix automated metadata decoding with ExtItem
danieldg [Sun, 13 Sep 2009 20:33:41 +0000 (20:33 +0000)]
Fix automated metadata decoding with ExtItem

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

14 years agoFix REMOVE maxparams
danieldg [Sun, 13 Sep 2009 20:33:34 +0000 (20:33 +0000)]
Fix REMOVE maxparams

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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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