w00t
83562ac4df
Fix for picky compilers (see, I work sometimes ;p)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5218 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-11 19:34:28 +00:00
brain
a9c93027da
Split hostmasks into ident and host pairs for matching as g/k/e lines. This allows them to be matched faster and more efficiently
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5203 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 17:51:03 +00:00
brain
52aec3dd2a
Match IP's with klines, glines and exceptions, as well as hosts
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5201 e03df62e-2008-0410-955e-edbf42e46eb7
2006-09-10 17:18:58 +00:00
om
f33f516fef
Remove extra/wrong qualifications, makes GCC 4.1 (at least) die
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5088 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-31 13:00:21 +00:00
brain
5b8d2c4cab
Remove a ton of <typeinfo>, <iostream>, <sstream> etc that we usually never use
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5081 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-30 09:51:50 +00:00
brain
d9d4f8fdad
Document some missing xline stuff
...
Document the variants of SocketEngine for epoll, kqueue and select
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4905 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-12 01:13:40 +00:00
brain
b96de3df20
Document XLineManager
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4897 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 21:56:25 +00:00
brain
312d49abb0
Move all of the xline stuff into class XLineManager, make an instance of it in class InspIRCd and use it
...
(eliminates another extern)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4878 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-11 11:06:40 +00:00
brain
f068033883
Tidy up loglevel enum (remove some C-ish defines)
...
change ServerConfig to pass a pointer to 'this' to Validation etc functions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4811 e03df62e-2008-0410-955e-edbf42e46eb7
2006-08-09 14:20:04 +00:00
brain
c746f9a964
REMOTE STATS! WOOO AND YAY!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4596 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-30 13:00:51 +00:00
om
903dbea2b1
Change WriteChannelWithServ and it's _NoFormat to take a const char* servername rather than char* - although it doesn't seem to be used :<
...
Lose some more casts in m_spanningtree, unneeded because of above changes
Make xline_set_creation_time() take const char* rather than char* for it's first parameter, lose more casts in spanningtree because of this
Make do_whois take a const char* rather chan char* nick, lose yet more casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4095 e03df62e-2008-0410-955e-edbf42e46eb7
2006-07-01 14:40:53 +00:00
brain
335ab9f041
Mass tidyup of ServerConfig::Read and stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-03-10 17:18:15 +00:00
brain
3b9cf59ba0
Checks to not propogate invalid or already-existing Xlines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3143 e03df62e-2008-0410-955e-edbf42e46eb7
2006-02-08 18:14:12 +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
b70de5aa78
Added parameter to apply_lines to indicate what we want to apply
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2391 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-14 09:43:31 +00:00
brain
32d9314192
Optimized (much faster, more efficient, less cpu usage)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2269 e03df62e-2008-0410-955e-edbf42e46eb7
2005-12-08 16:39:22 +00:00
brain
382e957521
Fixes for removal of serverrec
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1946 e03df62e-2008-0410-955e-edbf42e46eb7
2005-11-25 13:03:03 +00:00
brain
194838af39
Changed the type of struct whowas records are stored in (no need to waste a big heavy userrec)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1369 e03df62e-2008-0410-955e-edbf42e46eb7
2005-05-12 19:09:42 +00:00
brain
c0f731e19d
Added Server::AddGLine
...
Added Server::AddKLine
Added Server::AddZLine
Added Server::AddQLine
Added Server::AddELine
Added Server::DelGLine
Added Server::DelKLine
Added Server::DelZLine
Added Server::DelQLine
Added Server::DelELine
Added Server::Duration
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1071 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-13 12:41:46 +00:00
brain
b54f879f35
Added E:Lines, a form of ban exception that can prevent opers, netadmins etc from being glined. Can be added and removed
...
either in the config or by an oper with the correct permissions to use the /ELINE command
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@975 e03df62e-2008-0410-955e-edbf42e46eb7
2005-04-04 17:55:48 +00:00
brain
740b09e2ae
Updated header comments
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@816 e03df62e-2008-0410-955e-edbf42e46eb7
2004-05-16 14:58:40 +00:00
brain
5e6e382722
Added comments and fixes
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@726 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-25 14:01:33 +00:00
brain
098f4bdc41
Added some stuff to diffrentiate between global and local Q/Z lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@724 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-25 13:54:16 +00:00
brain
61e121fb7d
Added G-line, Z-line and K-line plus SZLINE, SGLINE, etc.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@716 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24 21:21:29 +00:00
brain
9927dccff2
Q-lines fully working, can add and remove other types of ban (but not enforced yet)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@714 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24 20:01:06 +00:00
brain
800ebbf95d
Added a bunch of xline stuff and added qline spport for /nick and svsnick
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@713 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24 18:15:37 +00:00
brain
c6c17f5997
Added XLine stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@712 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24 15:59:40 +00:00
brain
28cc1b6ceb
Added xline.cpp and xline.h, implements k/g/z/q lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@711 e03df62e-2008-0410-955e-edbf42e46eb7
2004-04-24 15:50:55 +00:00