1361 Commits

Author SHA1 Message Date
brain
5feabe4357 Key hiding when youre not on the channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-31 21:55:34 +00:00
brain
e9c208d82b Remainder of TYPE_OTHER metadata
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2983 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 00:10:46 +00:00
brain
9d85ba0dad Added support for TYPE_OTHER metadata, where void* target will be NULL, e.g. its not bound to a user or a nick
-NOT TEST COMPILED YET-


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2981 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 00:05:59 +00:00
brain
3ba6fa6d7f Created OnPostOper that can be gauranteed to be called *after* opering (by ALL modules) is done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2973 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-29 21:43:34 +00:00
brain
1c50cc3371 Changed length of password field to 64, giving us a maximum password length of 63 plus null terminator
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2960 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28 23:56:10 +00:00
brain
89ae67a659 Fixed uninitialized ExtMode::list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2959 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28 22:51:52 +00:00
brain
653638c686 Improved IP handling. Now uses in_addr to store client ip, not char[16]!
Added global and local session limits
All of this needs TESTING.


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2934 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27 15:26:59 +00:00
om
72943b2c72 Add InsertMode function to helperfuncs.(cpp|h) for easily adding modes to the CHANMODES section of the 005 numeric
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2897 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 20:24:46 +00:00
brain
86c496cf14 Documented some functions that were missing comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2891 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 17:00:46 +00:00
brain
cdaf7ac378 Added PRIORITY_BEFORE and PRIORITY_AFTER (see src/modules/m_hostchange.cpp for how it works, function Prioritize())
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2889 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 16:31:05 +00:00
om
c8a96f0756 Oh noes, a typoed comment :x
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2887 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 15:38:49 +00:00
om
3d2a89504a remove redundant variable and fix log output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2886 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 15:35:40 +00:00
om
a8d1eab546 Adding the +e and +I modules m_banexception and m_inviteexception, also adding their shared utility header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2884 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 14:49:12 +00:00
brain
8486ec92d2 Allowed for configuration of maxtargets in <options:maxtargets>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2848 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 23:54:04 +00:00
brain
69dee41a1b Added MakeWildHost to userrec (*!*@dhost)
Added ban stuff to messageflood


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2836 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 20:32:19 +00:00
brain
93e3cda102 Added facility for servers to send KICK message (ew, i hate this crap)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2830 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 19:23:20 +00:00
brain
02280596a0 Added OnChannelDelete() method (called on KICK, PART or QUIT where a channel is deleted for cleanup of metadata)
Added m_messageflood.so (not yet finished, do not use yet)


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2826 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 15:51:06 +00:00
brain
7e6dfdf211 Added support for part messages in the module API (and therefore between servers too)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2815 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-17 21:39:35 +00:00
brain
4b98200ca8 Changed lots of icky #define's to enums
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2810 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 21:08:09 +00:00
brain
d920a2506f CleanFilename movage
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2807 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 20:35:11 +00:00
brain
2822a9f36e Fixes to make this actually WORK.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2805 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 20:24:06 +00:00
brain
e5f9f1f621 Added checks to forbid declaring certain config tags twice (ones which should only exist once like <server> and <admin>)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2804 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 20:21:08 +00:00
brain
344e075532 Added support for <options customversion> to customize the second part of VERSION
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2797 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 18:09:00 +00:00
brain
1383dba43e Updated copyrights in headers etc using perl inplace edit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 15:59:11 +00:00
brain
bb22b5cd2c Made inspircd close and reopen its log on rehash
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2794 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-15 14:41:26 +00:00
brain
2a81a5a002 Added RemoveSocket as a test fix for merwins bug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-14 15:37:21 +00:00
brain
6c725e7a4f Replaced sprintf's with some char* voodoo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2781 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12 20:25:51 +00:00
brain
8aa7f73bd7 Changed channel user lists from vector to map
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2780 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12 20:14:43 +00:00
brain
8d3fcd32d4 <Bender> Who put this in here? O_o
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2777 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-12 07:20:10 +00:00
brain
527077d8c0 Untested priority system for modules to move themselves to the start or end of the module queue
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2758 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 21:59:58 +00:00
brain
3973b83ca2 *TEST* Oper-Only-Stats (not yet tested)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2749 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 13:06:57 +00:00
brain
1268930234 GCC 4.1 is more strict about extra qualification on members
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2727 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-02 21:40:02 +00:00
brain
2cfcca8007 Fixes to typos and change to return by reference on GetClass
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2725 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-01 20:57:42 +00:00
brain
710777b2a7 Class lookup adjustment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2724 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-01 20:50:09 +00:00
brain
49611143fc Removed cvsignores, set svn:ignore property using -F .cvsignore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2722 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-31 23:59:02 +00:00
brain
37edb225d7 More removal of formatting where its not neccessary x("%s",str) == bad!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2704 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 23:28:19 +00:00
brain
df06ab6044 Cached ISUPPORT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2702 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 21:57:34 +00:00
brain
ee9f5d7784 Changed 65535 to MAX_DESCRIPTORS calculated at configure-time
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2699 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 19:31:39 +00:00
brain
dc12fcac87 Added extra checking to socketengine to refuse connections after we reach the max
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2697 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 16:33:26 +00:00
brain
024f972eb1 Added counters for MAX_DESCRIPTORS etc which allows the socket engine to refuse new fd's once you hit the OS limit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2696 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 14:03:14 +00:00
brain
0bf908e49c Optimizing to not use so much cpu with high user loads
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2691 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 00:19:35 +00:00
brain
479ad199e7 Added SetSignals()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2689 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28 22:30:51 +00:00
brain
68745b98f5 Changed from std::map to hash_map
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2686 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28 21:21:54 +00:00
brain
09725273b5 EXPERIMENTAL: Command search function now uses std::map, should be faster (i hope)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2684 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28 21:16:31 +00:00
brain
7972cc3249 New system for client exits using CullList seems stable, needs testing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2681 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28 20:22:07 +00:00
brain
d63e0473ba Added global_implementation array, bypasses calls which *NO* modules are currently implementing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2670 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 21:45:15 +00:00
brain
bd59b1a9a2 Fixed support for implementation hooks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2654 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 17:57:24 +00:00
brain
a9b90ecb43 Adding hook type checking to event calls to speed them up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2653 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-26 17:26:16 +00:00
brain
4c65d06850 Changed two fields in ConnectClass to strings, moved constructor stuff to init-list
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2632 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22 12:34:57 +00:00
brain
0fad2325b4 Improved m_alias to only capture complete commands and rewrite them (bug #92 as reported by strike)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2601 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-21 20:33:32 +00:00