]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
w00t [Sun, 28 Oct 2007 19:29:05 +0000 (19:29 +0000)]
Fix this to pass a User
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8405
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 28 Oct 2007 19:26:22 +0000 (19:26 +0000)]
Done my part
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8404
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 28 Oct 2007 19:20:44 +0000 (19:20 +0000)]
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
brain [Sun, 28 Oct 2007 19:07:06 +0000 (19:07 +0000)]
Forgot it should return false
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8402
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 28 Oct 2007 19:04:44 +0000 (19:04 +0000)]
Fixed w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8401
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 28 Oct 2007 18:59:24 +0000 (18:59 +0000)]
Ignore this commit. *jedi mind trick*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8400
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Sun, 28 Oct 2007 18:44:49 +0000 (18:44 +0000)]
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
w00t [Sun, 28 Oct 2007 18:33:06 +0000 (18:33 +0000)]
- 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
w00t [Sun, 28 Oct 2007 13:34:24 +0000 (13:34 +0000)]
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
brain [Sat, 27 Oct 2007 18:34:50 +0000 (18:34 +0000)]
Add dz to other contributors, line up columns
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8394
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 27 Oct 2007 15:38:27 +0000 (15:38 +0000)]
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
brain [Sat, 27 Oct 2007 15:32:59 +0000 (15:32 +0000)]
Whoops loused up a tweak
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8392
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 27 Oct 2007 15:09:00 +0000 (15:09 +0000)]
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
brain [Sat, 27 Oct 2007 14:36:52 +0000 (14:36 +0000)]
Whoops backwards
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8388
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 27 Oct 2007 14:31:58 +0000 (14:31 +0000)]
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
brain [Sat, 27 Oct 2007 14:12:24 +0000 (14:12 +0000)]
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
brain [Sat, 27 Oct 2007 11:45:05 +0000 (11:45 +0000)]
Remove debug stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8384
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 23:22:35 +0000 (23:22 +0000)]
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
brain [Fri, 26 Oct 2007 21:14:14 +0000 (21:14 +0000)]
Document m_delayjoin
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8381
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 21:10:20 +0000 (21:10 +0000)]
Fix a pretty silly goof-up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8380
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 21:00:03 +0000 (21:00 +0000)]
Typo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8379
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 20:53:37 +0000 (20:53 +0000)]
Whoops, must be const
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8378
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 20:49:49 +0000 (20:49 +0000)]
Whoops, change Implements to use it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8377
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 20:48:58 +0000 (20:48 +0000)]
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
brain [Fri, 26 Oct 2007 20:34:30 +0000 (20:34 +0000)]
Damnit! this should fix :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8375
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 20:24:32 +0000 (20:24 +0000)]
Whoops, ballsed up the nameslist generation :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8374
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 20:15:18 +0000 (20:15 +0000)]
Seems to work! Are you impressed, w00t? :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8373
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 20:03:06 +0000 (20:03 +0000)]
Might work might not. dont know yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8372
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 26 Oct 2007 19:48:17 +0000 (19:48 +0000)]
Not complete yet, won't work!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8371
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 21:26:26 +0000 (21:26 +0000)]
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
brain [Thu, 25 Oct 2007 21:21:13 +0000 (21:21 +0000)]
Document connect:limit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8368
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 21:07:15 +0000 (21:07 +0000)]
I was wrong its in one place :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8367
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 21:05:58 +0000 (21:05 +0000)]
Tidy up
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8366
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 21:03:50 +0000 (21:03 +0000)]
More dots!!!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8365
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 21:00:53 +0000 (21:00 +0000)]
Take out craq i forgot
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8364
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 20:56:14 +0000 (20:56 +0000)]
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
brain [Thu, 25 Oct 2007 20:51:58 +0000 (20:51 +0000)]
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
brain [Thu, 25 Oct 2007 19:57:30 +0000 (19:57 +0000)]
Errr, who did this? :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8361
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 15:55:26 +0000 (15:55 +0000)]
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
w00t [Thu, 25 Oct 2007 15:45:35 +0000 (15:45 +0000)]
Brain, look at this pls :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8359
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 25 Oct 2007 15:25:32 +0000 (15:25 +0000)]
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
w00t [Wed, 24 Oct 2007 22:52:51 +0000 (22:52 +0000)]
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
w00t [Wed, 24 Oct 2007 19:16:40 +0000 (19:16 +0000)]
Remove that goto, capt'n
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8356
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 24 Oct 2007 19:12:45 +0000 (19:12 +0000)]
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
w00t [Wed, 24 Oct 2007 18:56:24 +0000 (18:56 +0000)]
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
brain [Wed, 24 Oct 2007 18:45:17 +0000 (18:45 +0000)]
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
brain [Wed, 24 Oct 2007 18:12:24 +0000 (18:12 +0000)]
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
brain [Wed, 24 Oct 2007 18:09:18 +0000 (18:09 +0000)]
Tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8351
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 18:05:44 +0000 (18:05 +0000)]
Pedantic safety
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8350
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 18:03:36 +0000 (18:03 +0000)]
Pedantic clean
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8349
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 17:46:57 +0000 (17:46 +0000)]
-pedantic good, -Wextra bad. read g++ manpage :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8348
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 16:54:44 +0000 (16:54 +0000)]
/usr/local/include/openssl/pqueue.h:73: error: ISO C++ does not support `long long'
/usr/local/include/openssl/pqueue.h:80: error: ISO C++ does not support `long long'
/usr/local/include/openssl/pqueue.h:89: error: ISO C++ does not support `long long'
^^ openssl broken too, set $NoPedantic
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8347
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 16:08:29 +0000 (16:08 +0000)]
Some constructors dont initialize the refcount, namely, the one thats usually called :P
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8346
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 16:04:09 +0000 (16:04 +0000)]
Whoops forgot this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8345
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 15:51:08 +0000 (15:51 +0000)]
Obnoxious -pedantic warnings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8344
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 15:48:00 +0000 (15:48 +0000)]
Try this w00t, compiles, test running now
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8343
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 24 Oct 2007 15:12:10 +0000 (15:12 +0000)]
Start of refcount-based rehash stuff for <connect> tags, this is broken and rather ugly right now..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8342
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 24 Oct 2007 15:07:24 +0000 (15:07 +0000)]
Theres no need to check the address of a stack declared array for NULL, thanks darix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8340
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 23 Oct 2007 23:54:24 +0000 (23:54 +0000)]
Move some stuff from using userrec cached stuff to using stuff in the connect classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8339
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 23 Oct 2007 23:31:40 +0000 (23:31 +0000)]
Fix a bug before I even started this.. don't let User::SetClass() decrease the reference count if we cannot find the new class to plop them into, that will nark things up nicely..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8338
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 23 Oct 2007 23:25:49 +0000 (23:25 +0000)]
Some more class stuff, blah. Now possible to move a user to a different class via User::SetClass(), which cmd_oper uses. GetClass() is now just a wrapper around User::MyClass. User::CheckClass() does not support any parameters anymore, nor does User::GetClass().. I think I have this all right ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8337
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 23 Oct 2007 23:07:24 +0000 (23:07 +0000)]
Some initial work towards tying <connect> classes to user accounts. This will (in the longer term) allow for things like limits on how many users can fit in a <connect> for 1.2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8336
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:41:14 +0000 (22:41 +0000)]
Make clean should clean the socketengine objects
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8335
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:35:36 +0000 (22:35 +0000)]
Windows socket engine tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8334
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:34:58 +0000 (22:34 +0000)]
Windows socket engine tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8333
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:30:25 +0000 (22:30 +0000)]
Move socketengines into their own dir. This was all w00t's idea, but i told him no because i didnt think it would work. Now ive done it myself :P ner ner ne ner ner :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8332
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:10:18 +0000 (22:10 +0000)]
-Wall is still required, too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8331
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:08:57 +0000 (22:08 +0000)]
-W -> -Wextra
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8330
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 22:07:47 +0000 (22:07 +0000)]
This now works properly with $NoPedantic macro.
Question: where did all the 'unused parameter' warnings vanish to???
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8329
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 21:50:09 +0000 (21:50 +0000)]
Roll back to 8323, the -pedantic switch thing totally breaks building the way i implemented it here :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8328
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 21:43:54 +0000 (21:43 +0000)]
Needs a bit more again
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8327
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 21:39:10 +0000 (21:39 +0000)]
And fix it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8326
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 21:36:33 +0000 (21:36 +0000)]
Add $NoPedantic build macro, for m_mysql because mysql AB dont know how to code :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8325
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 21:05:01 +0000 (21:05 +0000)]
Visual studio doesnt like throw definitions like this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8324
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 21:00:35 +0000 (21:00 +0000)]
All of insp now builds with -pedantic (theres some warnings to squash in modules, and in spanningtree, but its all 'unused parameter').
I suggest we actually go through and satisfy these unused parameter errors for two reasons:
(1) it acts as a strong compiler hint leading to better optimization
(2) it will give us a good clue of what parameters are NEVER used and should therefore be removed from use (like i just did with AddMode)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8323
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 20:52:27 +0000 (20:52 +0000)]
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8322
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 20:48:04 +0000 (20:48 +0000)]
More AddModes fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8321
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 20:47:06 +0000 (20:47 +0000)]
Some AddMode fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8320
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 20:45:09 +0000 (20:45 +0000)]
All the core is now pedantic safe!
NOTE: I changed ModeHandler removing a redundant param. Devs, if you find stuff that doesnt compile, change AddMode(handler, 'l') to AddMode(handler); and it will :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8319
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 20:29:00 +0000 (20:29 +0000)]
More pedantic safety
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8318
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 20:09:58 +0000 (20:09 +0000)]
Pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8317
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 19:55:47 +0000 (19:55 +0000)]
pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8316
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 19:48:28 +0000 (19:48 +0000)]
Pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8315
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 19:46:47 +0000 (19:46 +0000)]
Pedantic safe
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8314
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 19:28:41 +0000 (19:28 +0000)]
-pedantic tidyups, lets see if it finds anything worthy of a fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8313
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 23 Oct 2007 16:42:03 +0000 (16:42 +0000)]
Auto generate the install list, no more need to insert it into the .makefile.inc for it to be part of make install
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8312
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Tue, 23 Oct 2007 10:19:10 +0000 (10:19 +0000)]
Oops: Fix one version of overrided match() always being case sensitive..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8310
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 20:16:58 +0000 (20:16 +0000)]
Make this a little more bulletproof
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8309
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 20:10:46 +0000 (20:10 +0000)]
Conditionals in the buildsystem language allowing for checking of configure flags:
/* $If: USE_KQUEUE */
/* $ExtraSources: socketengine_kqueue.cpp */
/* $ExtraObjects: socketengine_kqueue.o */
/* $EndIf */
This is used exactly where the example dictates: to pick a socket engine from the socketengine.cpp.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8308
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 19:53:23 +0000 (19:53 +0000)]
Remove the need for a bunch of the hard coded arrays/hashes by scanning the src/ dir for tag comments, like in modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8307
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 18:29:23 +0000 (18:29 +0000)]
Big obvious comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8306
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 18:25:37 +0000 (18:25 +0000)]
Comment all this, and tweak it a little
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8305
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 18:13:45 +0000 (18:13 +0000)]
*POSSIBLE BREAKAGE WARNING* new (currently undocumented) buildsystem that builds an operating system specific makefile from a set of hashes/arrays in configure that are OS independent
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8304
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 16:13:13 +0000 (16:13 +0000)]
Failed attempt to embed an icon (microsofts help sucks)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8303
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 22 Oct 2007 15:54:47 +0000 (15:54 +0000)]
Fix build system to work with where w00t hid the command files :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8302
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 22 Oct 2007 15:12:58 +0000 (15:12 +0000)]
Fix this from an experiment I was playing with :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8301
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 22 Oct 2007 15:01:15 +0000 (15:01 +0000)]
Remove a wrapper, it's easy to read as is :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8300
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 22 Oct 2007 14:13:48 +0000 (14:13 +0000)]
Move cmd_*.cpp to src/commands/. Not done in the nicest of ways yet, but ah well :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8299
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 22 Oct 2007 10:14:18 +0000 (10:14 +0000)]
Move InspIRCd::IsValidMask() to helperfuncs.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8298
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 21 Oct 2007 23:52:24 +0000 (23:52 +0000)]
No penalty here!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8297
e03df62e -2008-0410-955e-
edbf42e46eb7