brain
98fd8145d8
Fixed to correctly use iterator
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3583 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09 12:23:04 +00:00
brain
b251c1feb7
Fixed to use iterators
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3580 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09 11:34:47 +00:00
brain
c2a5839bcb
Probably wont compile yet - purge_empty_channels refactor
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3579 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-09 11:24:30 +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
990c9795ef
Whois typo fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3525 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 19:18:46 +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
34b0ca01b6
Improved userlist to avoid strlen
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3514 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-07 12:05:34 +00:00
brain
aa223a7d91
Sped up introduction of nicks using vector::resize() rather than the craq++ loop (wtf was i thinking doing it that way?)
...
Removed 'client connecting notices dont show locally during burst' -- this is silly as it doesnt work remotely and is pretty much pointless
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3460 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-05 00:08:48 +00:00
brain
2166d5e63c
Slight optimization here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3434 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:51:09 +00:00
brain
66a5aabdbd
Strdup's to stop corruption of oper classes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3433 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:30:04 +00:00
brain
af03ce859e
Fix for warning
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3432 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:24:38 +00:00
brain
e829227e6c
sstrdup?!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3431 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:22:40 +00:00
brain
4927edc5fb
*UNTESTED* speeding up HasPermission by factor of hundreds, avoid using EnumConf and ConfValue outside of rehash *AT ALL*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3430 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 17:19:49 +00:00
brain
055b733595
More efficient AddClient, initializes two identical buffers at once ;)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3427 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 16:08:12 +00:00
brain
af0f219afc
Made host fields more correct 64 in length with 63 copies
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3425 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 13:34:04 +00:00
brain
86499a92b6
Extra checks that should prevent desyncs if you stuff up your type/class tags between servers
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3413 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-02 09:44:15 +00:00
brain
da3134547f
Fixed some weirdass whowas stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3352 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-26 21:22:12 +00:00
brain
03a85ddeaf
Oh yae, Oh Yae, back in old days of yore, Ye Brain doth set the nick buffer as NICKLEN+1 to ease understanding by newbs who didnt know what thou null terminator was.
...
And yae, at a date later hence, Ye Brain then setteth ye buffer back to NICKLEN again.
Alas, neither Ye Brain nor Ye trusty followers hath then setteth back the rest of the core to NICKLEN-1, and verily, chaos ensued. :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3286 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-22 18:36:33 +00:00
brain
4648c98fa1
Tests for channel ghosting?
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3276 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-21 21:07:17 +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
feaf72ecb4
Removed a whole lot of strchr's looking for mode +o where we can do if *user->oper
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3221 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-15 19:23:01 +00:00
brain
dba88edc76
Experimental improved string handling in server links
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3127 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-07 18:26:38 +00:00
brain
7cecc44935
Correctly initialize userrec::password (should fix a few m_sql issues)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2946 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-28 12:08:11 +00:00
brain
dbcfdd074b
Added warnings to opers when session limits are exceeded
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2935 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-27 15:32:57 +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
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
b99156d6d6
Removed all strncpy() calls and replaced with strlcpy()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2818 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-18 21:58:53 +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
a469393458
Replaced some 'n' with '*n' that was breaking userrec::MakeHost
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2786 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-14 14:37:10 +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
6637802f21
Added chmodes-with-params
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2748 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 11:23:42 +00:00
brain
2d3e110c46
Unneccessary colon
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2747 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 11:18:55 +00:00
brain
2fade61bfd
Updated mode lists in 004 to more accurately reflect inspircd's mode features
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2746 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-09 10:24:16 +00:00
brain
c992372f80
Fixed to not crash on /PARK (still more to test)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2729 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-03 18:26:25 +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
75d426ed98
Changes to how classes are looked up (connects slightly faster) and fix for case sensitive passwords
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2723 e03df62e-2008-0410-955e-edbf42e46eb7
2006-01-01 20:49:25 +00:00
brain
5e62a8399f
Attempt to cut out unneccessary printf() va_args voodoo (ugleh)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2703 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 23:02:01 +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
f278bdbbad
Changed to MAX_DESCRIPTORS
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2700 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 19:34:18 +00:00
brain
f7224a0009
*FIX* 'No more connections allowed' was comparing against the network-wide limit rather than the local limit (ICK!)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2698 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-29 19:00:53 +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
3b6b04b1ee
Changes to the way clients are exited during mainloop - MAY BE UNSTABLE USE WITH CAUTION
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2680 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-28 19:57:26 +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
4527ffe3cd
Made a var extern that blocks up the RC1 cygwin build
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2648 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-23 12:57:50 +00:00
brain
fc65994fbb
Missing semicolon (gack)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2638 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22 17:20:42 +00:00
brain
4ffd644a14
Optimized out strcpys that copy empty strings (craq++)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2637 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-22 17:18:18 +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
2f3ac3d801
SSL is a fucking mess.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2565 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-19 13:07:46 +00:00
brain
ca0889d458
Added IOHookModule stuff to allow for different modules to hook different ports
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2564 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-18 20:48:54 +00:00