brain
1dcf66e624
Buffer flush time now under 0.5 secs
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3528 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 19:45:21 +00:00
brain
4ae5336d9b
Flush user buffers more often (every 30 iterations)
...
Run whowas hash maintainance every hour
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3527 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 19:37:04 +00:00
brain
1e639377cb
Whowas refactor - probably wont compile yet
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3523 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 19:11:50 +00:00
brain
148835bea3
Added a 'max depth' to stop recursive issue
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3507 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 10:25:40 +00:00
brain
496f9df539
Changed return to break in mainloop for better efficiency
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3497 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-06 22:34:39 +00:00
brain
413f775b89
Fix to prevent recursive call to DoBackgroundTimer
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3441 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 23:03:13 +00:00
brain
ad33d03aff
And now the final result of all this tweaking comes to light.
...
Whenever i commit the post-commit hook writes a .sh script to my dir, within the insp checkout dir, containing the current revision id - 1.
Therefore, the system can stay up to date with revision id's simply with ./configure -update :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3376 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 17:24:42 +00:00
brain
e53aaf7cba
Tweaks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3374 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 17:16:48 +00:00
brain
080a9f5d24
Test two
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3362 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 10:22:10 +00:00
brain
747ae4b7a5
Constant eating 20% cpu since last nights commit - test fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3361 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-27 10:13:22 +00:00
brain
7788a8602f
Fixes and tweaks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3349 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 20:49:17 +00:00
brain
090c1d76e8
Safety stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3346 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 20:35:57 +00:00
brain
65d0d4fb36
Moved the contents of the mainloop into a function called InspIRCd::DoOneIteration().
...
We can then use this to 'yield' if incoming server text is taking too long to process
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3342 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 19:53:25 +00:00
brain
3c24bb8721
Fix for segfault if name of file left off commandline
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3329 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 11:08:58 +00:00
brain
a06876d5fd
And fixes for typos
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3328 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 11:07:19 +00:00
brain
0500850669
Added ability to provide -logfile parameter on commandline
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3327 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 11:05:34 +00:00
brain
991bc1d3cf
Look-behind for missed timers up to 2 minutes (if your ircd has hung for 2 minutes, or your clock drift is > 2 mins, you have bigger fish to fry, like dead network or TS split)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3310 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:35:52 +00:00
brain
8c2bd7cc63
Moved timer stuff from OnBackgroundTimer to InspTimer derivative
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3305 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 20:00:02 +00:00
brain
aca9acf422
Fixed to work
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3302 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:46:43 +00:00
brain
7907a1f1cc
Incorporating InspTimer into safelist as a test
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3301 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-23 19:39:38 +00:00
brain
e5cd139215
SAFELIST 005 token is now part of m_safelist not the core 005
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3292 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:57:29 +00:00
brain
c2906e93be
Changed triggering time of OnBackgroundTimer to 5 secs (from 8)
...
Fixed typo in new functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3288 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 20:14:33 +00:00
brain
a394fd9c53
Return false after catching a module exception
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3250 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 15:58:47 +00:00
brain
6824a483e3
Apparently to catch descendent classes we need to catch a reference to the parent, not the parent itself
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3242 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 14:53:06 +00:00
brain
2a9b0cdd30
Added exception handling for module loading
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3240 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-19 14:44:32 +00:00
brain
d542381250
Added MAXPARA=32 to 005 (no other ircd has this, or allows a larger MAXPARA but its worth advertising this feature in case a client chooses to support it in the future)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3237 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-18 00:01:28 +00:00
w00t
48676e6e17
- Manually bump revision ID, apparantly it's stopped doing it itself...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3210 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 03:10:26 +00:00
brain
1674c21da1
Increased how often socket timeout checks occur which will mean flushing write buffers more often
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3142 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 17:22:12 +00:00
brain
a8d2136807
005 update, removed duplicate WALLCHOPS reported by ThaPrince, added VBANLIST
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3131 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07 19:52:09 +00:00
brain
6a0e273150
Check for time going BACKWARDS (yes. really.)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3061 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 18:47:22 +00:00
brain
8c7166905e
Added "FNC WALLVOICES WALLCHOPS" to 005 numeric,
...
WALLVOICES and WALLCHOPS are actually specified by STATUSMSG but this is
specified here to make it work with more clients. FNC = forced nick changes possible
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3060 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 18:39:33 +00:00
brain
0e9926d291
Added '%' to STATUSMSG
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3059 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 18:06:57 +00:00
brain
38d7b5b0d9
*EXPERIMENTAL* <options:hidesplits> ircu-style quit munging for netsplits
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3031 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-03 00:25:28 +00:00
brain
656e193516
*UNTESTED DO NOT USE YET* - async dns for InspSocket as test - removing requirement on nss_dns.so.1
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3017 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-02 16:34:34 +00:00
brain
430951d92d
Dont check paths on cygwin
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2986 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-30 18:15:16 +00:00
brain
efc1cc39a3
Removed unused variable char* target
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2943 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27 18:00:31 +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
brain
5772b7d393
Removed excessive debug for something thats now fixed
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2915 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-26 10:59:59 +00:00
brain
ec024ec2bc
Fixed to not have ohv in CHANMODES type A,
...
Added proper MAXMODES output in 005 instead of hard coded '13'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-25 22:10:50 +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
brain
de6b0ea134
Reordered some stuff to allow a clever trick
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2857 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-23 14:31:00 +00:00
brain
375c89db77
Updated 005 to show changeable MAXTARGETS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2849 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 23:55:03 +00:00
brain
8bf2b150d6
Wrong nicklen is shown in the 005 numeric, fixed (noticed by ThaPrince)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2847 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-22 23:46:59 +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
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
9826d2ee0a
Changed fd_ref_table from 65536 to more correct MAX_DESCRIPTORS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2769 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-11 12:09:25 +00:00
brain
2415d071e1
Missing classname
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2761 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 22:09:58 +00:00
brain
e78bb3590c
Fixed compile issue
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2760 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 22:08:46 +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