w00t
f5f716ea6f
Move matches_qline to Matches, though this won't work properly .. :s
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8408 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:54:36 +00:00
w00t
fd568fb528
Make E:Line/G:Line use the Matches stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8407 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:35:58 +00:00
w00t
a87326fb17
Make ZLine use Matches()
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8406 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:32:23 +00:00
w00t
ba84759bf7
Fix this to pass a User
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:29:05 +00:00
brain
f428fe870d
Done my part
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8404 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:26:22 +00:00
w00t
3f29514c37
Add a virtual Matches to XLine class, and override it appropriately for all derived classes. Most still need to be converted to use it, however. This will make ApplyLines change much easier than it is currently ..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8403 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:20:44 +00:00
brain
7361ed672e
Forgot it should return false
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8402 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:07:06 +00:00
brain
e43b51239d
Fixed w00t
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8401 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 19:04:44 +00:00
w00t
9d5687922c
Ignore this commit. *jedi mind trick*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8400 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 18:59:24 +00:00
w00t
ce9b1289c6
PERL PIE FOR ALL: Rename a fuckload of XLineManager's methods
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8399 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 18:44:49 +00:00
w00t
4840d5e775
- Tear out a useless load of XLine clutters that did nothing much except confuse things
...
- Revert back to early 1.0 design of using a single list for line storage. We'll make this work more efficiently than 1.0 though of course. This simplifies the code for expiry, checking, etc.
- Merge a bunch of sort callbacks into a single sort callback for class XLine.
- Horribly break apply_lines() for the time being.
.. and that's probably it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8398 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 18:33:06 +00:00
w00t
f35e50f35c
Add m_proxyscan -- someone can doubtless do a much better job of this, as it's mostly a proof of concept at the moment. Opens a socket, sends a predefined string, awaits a predefined response. It sucks right now :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8397 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-28 13:34:24 +00:00
brain
be9dea8b2c
Add dz to other contributors, line up columns
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8394 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 18:34:50 +00:00
brain
8fd2f620ce
Dont echo the JOIN to the user whos speaking
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8393 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 15:38:27 +00:00
brain
407ebe550e
Whoops loused up a tweak
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8392 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 15:32:59 +00:00
brain
a2180fadb0
Who flags now count as a wildcard for searching for privacy reasons, fixes bug #444 reported by Smartys
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8390 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 15:09:00 +00:00
brain
2ba3c38388
Whoops backwards
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8388 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 14:36:52 +00:00
brain
8adb22f193
Fix for bug in windows with backslash directory seperators in config path when used with <include> tag and a relative include path, reported by daurnimator
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8386 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 14:31:58 +00:00
brain
f422c0c74d
Now plays nice with m_invisible, and fix a bug which allows users who havent spoken on a +D channel to remain invisible if they dont speak before an op removes the +D mode
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8385 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 14:12:24 +00:00
brain
192ae99685
Remove debug stuff
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8384 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-27 11:45:05 +00:00
brain
5a956ba846
Fix crashes and broken code in connect:parent stuff that got broken with introduction of connect:limit and slight refactor
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8382 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 23:22:35 +00:00
brain
c1917f619a
Document m_delayjoin
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8381 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 21:14:14 +00:00
brain
5bf21cc850
Fix a pretty silly goof-up
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8380 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 21:10:20 +00:00
brain
57fdc4aa25
Typo
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8379 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 21:00:03 +00:00
brain
a796450b8c
Whoops, must be const
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8378 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:53:37 +00:00
brain
95962710e4
Whoops, change Implements to use it
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8377 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:49:49 +00:00
brain
efa0823927
Add new event for this with gauranteed delivery of message BEFORE the text is sent out
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8376 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:48:58 +00:00
brain
ef3fba4334
Damnit! this should fix :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8375 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:34:30 +00:00
brain
703ff06290
Whoops, ballsed up the nameslist generation :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8374 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:24:32 +00:00
brain
d22271ed97
Seems to work! Are you impressed, w00t? :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8373 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:15:18 +00:00
brain
371030bca7
Might work might not. dont know yet
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8372 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 20:03:06 +00:00
brain
7a2a85535c
Not complete yet, won't work!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8371 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-26 19:48:17 +00:00
brain
5b45b2ceaa
Disable pedantic for this. Third party headers do silly stuff. long long?!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8369 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:26:26 +00:00
brain
4f1c564a08
Document connect:limit
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8368 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:21:13 +00:00
brain
34df2c0d94
I was wrong its in one place :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8367 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:07:15 +00:00
brain
52941397f8
Tidy up
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8366 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:05:58 +00:00
brain
0117b824f2
More dots!!!
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8365 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:03:50 +00:00
brain
aaff467643
Take out craq i forgot
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8364 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 21:00:53 +00:00
brain
da79274a2d
Forgot these two lines that prevent duplicate make install/deinstall lines
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8363 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 20:56:14 +00:00
brain
a9d2342f6a
Make install list list automatically generated from build targets and provide facility for installing extra files.
...
Using this, cert.pem and key.pem are only copied to the conf dir if you enabled an ssl module.
Also, this provides facility for a 'make deinstall' which should be safe for use in all situations as it always specifies a file by name and never uses wildcards to rm.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8362 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 20:51:58 +00:00
brain
01241d4574
Errr, who did this? :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8361 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 19:57:30 +00:00
brain
905b594ca2
If the connect:limit is 0, dont deny connections for going over it
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8360 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 15:55:26 +00:00
w00t
656d2f265c
Brain, look at this pls :p
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8359 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 15:45:35 +00:00
brain
393c1afdd7
this should fix any of the crashes w00t outlined where User::MyClass == NULL.
...
The simplest fix seems to be that if the user has no class, skip all the code that uses the class values.
This makes sense because the only situation where User::MyClass == NULL is when they arent authorised to connect and are being quit so checking flood levels and max sendq etc are irrelevent.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8358 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-25 15:25:32 +00:00
w00t
7b3105e5d4
Implement <connect:limit> - limits how many clients can sit inside a <connect> tag. Brain, we have a problem here in that if we User::QuitUser() a user with a NULL MyClass member (connect class), then things break (like sendq et al). What should we do with this, create a generic catchall class or something just in case? (to replicate, set up a single connect class with a low limit, and connect too many clients. Crash is the result)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8357 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 22:52:51 +00:00
w00t
f2d6214247
Remove that goto, capt'n
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8356 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 19:16:40 +00:00
w00t
d5ee2584e1
Disable all connect classes, reenable them as we find them in the config. This stops users using a connect class removed from the conf (or will in a second)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8355 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 19:12:45 +00:00
w00t
3dfdda08a0
Finish reference counting connect class stuff. Now rehash removes unused classes (refcount == 0), and re-reads any new shit (or ones that just got removed) from the config.
...
Possibly todo in the future: make /rehash update classes that exist in memory, make /rehash mark classes removed from conf (but still exist as refcount > 0) as inactive.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8354 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 18:56:24 +00:00
brain
475f5579b5
Remove variadic macros from sqlv2 api, removing the warnings that come with it and increasing compatibility
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8353 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 18:45:17 +00:00
brain
56123af167
Last of the -pedantic fixes. Seems we were all good with -pedantic from the start :) Just seemed that -Wall -Wextra enables moron warnings.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8352 e03df62e-2008-0410-955e-edbf42e46eb7
2007-10-24 18:12:24 +00:00