]> git.netwichtig.de Git - user/henk/code/inspircd.git/log
user/henk/code/inspircd.git
16 years agoBye bye Cygwin and static builds o/
peavey [Tue, 24 Jul 2007 15:33:29 +0000 (15:33 +0000)]
Bye bye Cygwin and static builds o/

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7547 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove a bundle of stuff to server.cpp from inspircd.cpp
w00t [Tue, 24 Jul 2007 15:28:00 +0000 (15:28 +0000)]
Move a bundle of stuff to server.cpp from inspircd.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7546 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoserver.cpp
peavey [Tue, 24 Jul 2007 15:16:44 +0000 (15:16 +0000)]
server.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7545 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoserver.cpp
peavey [Tue, 24 Jul 2007 15:16:19 +0000 (15:16 +0000)]
server.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7544 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAnd remove it from the header..
w00t [Tue, 24 Jul 2007 15:03:34 +0000 (15:03 +0000)]
And remove it from the header..

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7543 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMerge a tiny sub in for readability, use this-> consistantly while calling methods
w00t [Tue, 24 Jul 2007 14:55:47 +0000 (14:55 +0000)]
Merge a tiny sub in for readability, use this-> consistantly while calling methods

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7542 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMove more modules related stuff to modules.cpp
w00t [Tue, 24 Jul 2007 14:51:38 +0000 (14:51 +0000)]
Move more modules related stuff to modules.cpp

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7541 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSome refactoring; move LoadModule and UnloadModule over to modules.cpp -- seems like...
w00t [Tue, 24 Jul 2007 14:39:46 +0000 (14:39 +0000)]
Some refactoring; move LoadModule and UnloadModule over to modules.cpp -- seems like a logical home to me ;p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7540 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRefactor some craq to not loop through a string 4-5 times for a simple operation
w00t [Tue, 24 Jul 2007 14:30:15 +0000 (14:30 +0000)]
Refactor some craq to not loop through a string 4-5 times for a simple operation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7539 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoModify RULES to use numerics instead of notices. I'm pretty sure these are widespread...
w00t [Tue, 24 Jul 2007 14:08:16 +0000 (14:08 +0000)]
Modify RULES to use numerics instead of notices. I'm pretty sure these are widespread these days, and client authors should <3 us a bit more. :)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7537 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoA few more I missed.
w00t [Tue, 24 Jul 2007 12:18:54 +0000 (12:18 +0000)]
A few more I missed.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7535 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoConvert some ancient GlobalCulls usage into userrec::QuitUser
w00t [Tue, 24 Jul 2007 12:14:26 +0000 (12:14 +0000)]
Convert some ancient GlobalCulls usage into userrec::QuitUser

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7534 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove an out of date comment
w00t [Tue, 24 Jul 2007 11:51:52 +0000 (11:51 +0000)]
Remove an out of date comment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7533 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove redundant include for a speedup of 0.1 in compile time :p
peavey [Tue, 24 Jul 2007 10:59:08 +0000 (10:59 +0000)]
Remove redundant include for a speedup of 0.1 in compile time :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7531 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix crash on unload of modules with listening sockets -- some situations require...
brain [Mon, 23 Jul 2007 23:10:16 +0000 (23:10 +0000)]
Fix crash on unload of modules with listening sockets -- some situations require that the socket cull list is purged *immediately*, provide facility for this.
Also squish some silly error output on unloading spanningtree.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7529 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix some comments to be multiline, and remove a redundant if() case caused by windows...
w00t [Mon, 23 Jul 2007 21:56:34 +0000 (21:56 +0000)]
Fix some comments to be multiline, and remove a redundant if() case caused by windows patch a while back

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7528 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove darwin hax from 1.2
w00t [Mon, 23 Jul 2007 21:48:02 +0000 (21:48 +0000)]
Remove darwin hax from 1.2

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7526 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd some documentation
w00t [Mon, 23 Jul 2007 21:44:16 +0000 (21:44 +0000)]
Add some documentation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7524 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSanity check: we don't want to deal with Config being invalid while logging
w00t [Mon, 23 Jul 2007 21:35:39 +0000 (21:35 +0000)]
Sanity check: we don't want to deal with Config being invalid while logging

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7522 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSquash a warning reported by owine
w00t [Mon, 23 Jul 2007 21:21:15 +0000 (21:21 +0000)]
Squash a warning reported by owine

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7519 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRename this function so it is self documenting
w00t [Mon, 23 Jul 2007 21:13:44 +0000 (21:13 +0000)]
Rename this function so it is self documenting

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7518 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoClean up the indenting here
w00t [Mon, 23 Jul 2007 21:08:56 +0000 (21:08 +0000)]
Clean up the indenting here

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7517 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix a bug reported downstream regarding cloaking keys
w00t [Mon, 23 Jul 2007 20:53:38 +0000 (20:53 +0000)]
Fix a bug reported downstream regarding cloaking keys

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7513 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoYes, it will be. (see the file)
brain [Mon, 23 Jul 2007 18:25:13 +0000 (18:25 +0000)]
Yes, it will be. (see the file)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7509 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove a braindead comment ('this belongs in class InspIRCd' -- when it's already...
w00t [Mon, 23 Jul 2007 18:07:43 +0000 (18:07 +0000)]
Remove a braindead comment ('this belongs in class InspIRCd' -- when it's already there.)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7507 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTidyup a bunch of stuff that was using userrec::modes directly rather than userrec...
brain [Mon, 23 Jul 2007 18:06:57 +0000 (18:06 +0000)]
Tidyup a bunch of stuff that was using userrec::modes directly rather than userrec::IsModeSet. Same for chanrec.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7506 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake these notices a little more helpful
w00t [Mon, 23 Jul 2007 18:04:57 +0000 (18:04 +0000)]
Make these notices a little more helpful

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7505 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBit more tidying. Add some comments here, too.
w00t [Mon, 23 Jul 2007 17:58:57 +0000 (17:58 +0000)]
Bit more tidying. Add some comments here, too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7504 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMinor cleanup
w00t [Mon, 23 Jul 2007 17:51:01 +0000 (17:51 +0000)]
Minor cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7503 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoA couple of tweaks that i did earlier as diffs. ISON didnt always respect invisibilit...
brain [Mon, 23 Jul 2007 17:42:48 +0000 (17:42 +0000)]
A couple of tweaks that i did earlier as diffs. ISON didnt always respect invisibility state of users. socketengine iocp didnt range check fd's before passing them for array lookup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7502 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for bug #358, by rogalek.
w00t [Mon, 23 Jul 2007 17:22:10 +0000 (17:22 +0000)]
Fix for bug #358, by rogalek.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7501 e03df62e-2008-0410-955e-edbf42e46eb7

16 years ago* Sockets will now always be nonblocking on win32 version of InspIRCd. There were...
burlex [Mon, 23 Jul 2007 00:37:03 +0000 (00:37 +0000)]
* Sockets will now always be nonblocking on win32 version of InspIRCd. There were some cases (mainly in TreeSockets) where a socket would not get restored to nonblocking mode after a connect() call, resulting in the server getting stuck on a blocking send() call causing freezeups.
* configure will now compile under VC7 again.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7500 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFixed windows configure in release mode in a directory with spaces.
frostycoolslug [Sun, 22 Jul 2007 23:17:51 +0000 (23:17 +0000)]
Fixed windows configure in release mode in a directory with spaces.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7499 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoGrrr
brain [Sun, 22 Jul 2007 17:40:11 +0000 (17:40 +0000)]
Grrr

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7498 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agom_testcommand deletes its command handler manually, no modules should do this. Will...
brain [Sun, 22 Jul 2007 17:38:22 +0000 (17:38 +0000)]
m_testcommand deletes its command handler manually, no modules should do this. Will cause a double free

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7497 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd syntax.
peavey [Sun, 22 Jul 2007 14:10:49 +0000 (14:10 +0000)]
Add syntax.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7496 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd m_taxonomy.so to example config.
peavey [Sun, 22 Jul 2007 13:52:23 +0000 (13:52 +0000)]
Add m_taxonomy.so to example config.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7495 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoLess WOOT more TAXANOMY :>
peavey [Sun, 22 Jul 2007 13:49:15 +0000 (13:49 +0000)]
Less WOOT more TAXANOMY :>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7494 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agooper-immune filters should be fixed now
brain [Sat, 21 Jul 2007 22:05:45 +0000 (22:05 +0000)]
oper-immune filters should be fixed now

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7493 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoI broke socketengine_iocp with some fixes. Fixed again.
brain [Sat, 21 Jul 2007 16:23:40 +0000 (16:23 +0000)]
I broke socketengine_iocp with some fixes. Fixed again.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7488 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoExtra Dry! Shame it's not in Hereford right now :p
brain [Sat, 21 Jul 2007 16:16:46 +0000 (16:16 +0000)]
Extra Dry! Shame it's not in Hereford right now :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7487 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTest
brain [Sat, 21 Jul 2007 15:52:51 +0000 (15:52 +0000)]
Test

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7486 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix pastage spotted by dmb.
peavey [Sat, 21 Jul 2007 14:59:10 +0000 (14:59 +0000)]
Fix pastage spotted by dmb.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7485 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agole cleanup
peavey [Sat, 21 Jul 2007 13:19:46 +0000 (13:19 +0000)]
le cleanup

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7484 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agopush metadata out on title-up
peavey [Sat, 21 Jul 2007 13:18:32 +0000 (13:18 +0000)]
push metadata out on title-up

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7483 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhy does getcache return "true" or undef?! Now returns 1 or 0. Thanks stskeeps
brain [Sat, 21 Jul 2007 13:01:12 +0000 (13:01 +0000)]
Why does getcache return "true" or undef?! Now returns 1 or 0. Thanks stskeeps

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7482 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMake it local only.
peavey [Sat, 21 Jul 2007 11:55:17 +0000 (11:55 +0000)]
Make it local only.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7481 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd Custom Titles as requested per bug #334
peavey [Sat, 21 Jul 2007 10:38:12 +0000 (10:38 +0000)]
Add Custom Titles as requested per bug #334
Optional hostmask and vhost supported
This will need alot of QA to make it into 1.1.10

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7480 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix gnutls cert generation failing. Thx owine.
peavey [Fri, 20 Jul 2007 22:06:14 +0000 (22:06 +0000)]
Fix gnutls cert generation failing. Thx owine.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7479 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for bug #326, 'no error' quit can no longer theoretically occur because all errno...
brain [Thu, 19 Jul 2007 22:08:21 +0000 (22:08 +0000)]
Fix for bug #326, 'no error' quit can no longer theoretically occur because all errno == 0 are weeded out with a shorthand if() on calling userrec::SetWriteError, before, only one of three occurances
was.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7478 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for bug #353, theres no solution to this but a slightly craqy one, but at least...
brain [Thu, 19 Jul 2007 22:00:44 +0000 (22:00 +0000)]
Fix for bug #353, theres no solution to this but a slightly craqy one, but at least its one line.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7477 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoWhoops, someone forgot to check the return value when initializing windows IOCP
brain [Thu, 19 Jul 2007 21:48:45 +0000 (21:48 +0000)]
Whoops, someone forgot to check the return value when initializing windows IOCP

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7476 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoCheck libc version for epoll then check that glibc is built against this kernel versi...
brain [Thu, 19 Jul 2007 21:44:46 +0000 (21:44 +0000)]
Check libc version for epoll then check that glibc is built against this kernel version, if not dont allow epoll

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7475 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIve tidied up the mode count stuff, but i still cant duplicate negative invisible...
brain [Wed, 18 Jul 2007 18:03:21 +0000 (18:03 +0000)]
Ive tidied up the mode count stuff, but i still cant duplicate negative invisible counts. :(

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7474 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFixed m_messageflood to free the channel if it kicks the last user. This would cause...
special [Wed, 18 Jul 2007 14:31:00 +0000 (14:31 +0000)]
Fixed m_messageflood to free the channel if it kicks the last user. This would cause either a crash or a memory leak, probably the latter

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7473 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agothere were two.. yes, you're right Special
pippijn [Wed, 18 Jul 2007 09:58:24 +0000 (09:58 +0000)]
there were two.. yes, you're right Special

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7472 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agountested fix for "unused functions"
pippijn [Wed, 18 Jul 2007 09:54:07 +0000 (09:54 +0000)]
untested fix for "unused functions"

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7471 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoStability fixes, some DELETEs here that dont belong any more.
brain [Tue, 17 Jul 2007 19:07:31 +0000 (19:07 +0000)]
Stability fixes, some DELETEs here that dont belong any more.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7470 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoValidation checks that seem to have been omitted here.
brain [Tue, 17 Jul 2007 19:04:30 +0000 (19:04 +0000)]
Validation checks that seem to have been omitted here.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7469 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agomore headers.
peavey [Tue, 17 Jul 2007 18:45:23 +0000 (18:45 +0000)]
more headers.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7468 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMass header update. Chatspike-Dev => InspIRCd....
peavey [Tue, 17 Jul 2007 18:43:39 +0000 (18:43 +0000)]
Mass header update. Chatspike-Dev => InspIRCd....

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7467 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix copyright headers.
peavey [Tue, 17 Jul 2007 18:27:36 +0000 (18:27 +0000)]
Fix copyright headers.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7466 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agopublish "JSON-RPC" interface
pippijn [Tue, 17 Jul 2007 14:50:33 +0000 (14:50 +0000)]
publish "JSON-RPC" interface

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7465 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoNow, json-rpc _ONLY_ supports member function pointers. An example is given in
pippijn [Tue, 17 Jul 2007 14:39:18 +0000 (14:39 +0000)]
Now, json-rpc _ONLY_ supports member function pointers. An example is given in
ModuleRpcJson::ModuleRpcJson. I must admit that it is kind of ugly but it is
the only way I can see right now.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7464 e03df62e-2008-0410-955e-edbf42e46eb7

16 years ago#ifdeffed out gnu extension
pippijn [Tue, 17 Jul 2007 13:38:46 +0000 (13:38 +0000)]
#ifdeffed out gnu extension

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7463 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoprovide feedback to the user if json throws an exception
pippijn [Tue, 17 Jul 2007 13:04:36 +0000 (13:04 +0000)]
provide feedback to the user if json throws an exception

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7462 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoIgnore all exceptions for now.. m_rpc_json is rather willing to throw
pippijn [Tue, 17 Jul 2007 13:02:02 +0000 (13:02 +0000)]
Ignore all exceptions for now.. m_rpc_json is rather willing to throw

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7461 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdded a JSON-RPC module that can be used by other modules to provide a remote
pippijn [Tue, 17 Jul 2007 12:53:49 +0000 (12:53 +0000)]
Added a JSON-RPC module that can be used by other modules to provide a remote
procedure call interface. This should work in theory, but does not for me.
But then, neither does m_httpd_stats so it's probably me...

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7460 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoModule directories now use the concatenated linker flags from every cpp file, instead...
special [Tue, 17 Jul 2007 09:53:35 +0000 (09:53 +0000)]
Module directories now use the concatenated linker flags from every cpp file, instead of just the last (which was rather unpredictable)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7459 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdded the execruntime() function for Compile/Linker flags - executes shell commands...
special [Tue, 17 Jul 2007 08:26:25 +0000 (08:26 +0000)]
Added the execruntime() function for Compile/Linker flags - executes shell commands at compile time rather than during configure

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7458 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoDon't hide from me! set LF eol-style on hidden files too.
peavey [Mon, 16 Jul 2007 18:18:03 +0000 (18:18 +0000)]
Don't hide from me! set LF eol-style on hidden files too.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7457 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoOOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.
peavey [Mon, 16 Jul 2007 17:30:04 +0000 (17:30 +0000)]
OOPS! We try again, since I'm smoking craq. LF is 0x0a NOT CR.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7456 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoSet EOL to WINDOWS-style always for Visual Studio files.
peavey [Mon, 16 Jul 2007 17:24:00 +0000 (17:24 +0000)]
Set EOL to WINDOWS-style always for Visual Studio files.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7455 e03df62e-2008-0410-955e-edbf42e46eb7

16 years ago'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipp...
peavey [Mon, 16 Jul 2007 17:14:45 +0000 (17:14 +0000)]
'svn propset -R svn:eol-style CR *' Set to UNIX-style always. Binaries are auto skipped by svn.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7454 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAdd flags to /STATS s output, and nuke some ^M
peavey [Mon, 16 Jul 2007 16:09:56 +0000 (16:09 +0000)]
Add flags to /STATS s output, and nuke some ^M

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7453 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoOk windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure will have...
peavey [Mon, 16 Jul 2007 15:39:31 +0000 (15:39 +0000)]
Ok windows.. YOU WIN :< .. but at least I can use MAXBUF now and configure will have to endure the fixed 500 limit :>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7452 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoformatting and ^M
peavey [Mon, 16 Jul 2007 14:43:30 +0000 (14:43 +0000)]
formatting and ^M

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7451 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoOops, the (*p) check was meant for the inner loop, I blame the vs editor :>
peavey [Mon, 16 Jul 2007 13:39:15 +0000 (13:39 +0000)]
Oops, the (*p) check was meant for the inner loop, I blame the vs editor :>

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7450 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBegone evil DOS format :<
peavey [Mon, 16 Jul 2007 13:35:59 +0000 (13:35 +0000)]
Begone evil DOS format :<

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7449 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoAnd add colour.h to wrapper resource instead of the source.
peavey [Mon, 16 Jul 2007 13:29:12 +0000 (13:29 +0000)]
And add colour.h to wrapper resource instead of the source.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7448 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUse wrapper include instead of colour.h.
peavey [Mon, 16 Jul 2007 13:27:14 +0000 (13:27 +0000)]
Use wrapper include instead of colour.h.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7447 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoTide this up and fix possible buffer overflow. Cannot use MAXBUF since inspircd_confi...
peavey [Mon, 16 Jul 2007 13:25:03 +0000 (13:25 +0000)]
Tide this up and fix possible buffer overflow. Cannot use MAXBUF since inspircd_config.h may not be generated yet.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7446 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoLittle tweak to fix the output when directory modules execute programs for cflags
special [Mon, 16 Jul 2007 13:16:59 +0000 (13:16 +0000)]
Little tweak to fix the output when directory modules execute programs for cflags

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7445 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUse colours.h in win_wrapper and also add __COLOURS_H define.
peavey [Mon, 16 Jul 2007 11:53:15 +0000 (11:53 +0000)]
Use colours.h in win_wrapper and also add __COLOURS_H define.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7444 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoRemove printf_c from wrapper, this code also segfaulted when it was used.
peavey [Mon, 16 Jul 2007 11:49:18 +0000 (11:49 +0000)]
Remove printf_c from wrapper, this code also segfaulted when it was used.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7443 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoUse vsnprintf instead of vsprintf.
peavey [Mon, 16 Jul 2007 11:47:47 +0000 (11:47 +0000)]
Use vsnprintf instead of vsprintf.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7442 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoMade m_ssl_gnutls throw an exception when unable to load the certificate (since SSL...
special [Mon, 16 Jul 2007 08:35:23 +0000 (08:35 +0000)]
Made m_ssl_gnutls throw an exception when unable to load the certificate (since SSL won't work at all without one)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7441 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for bug #349: NOTE there is important caveat about this in the example config...
brain [Sun, 15 Jul 2007 13:18:28 +0000 (13:18 +0000)]
Fix for bug #349: NOTE there is important caveat about this in the example config, MAKE SURE TO READ IT.
When you connect a cgi:irc client two different connect classes are checked at two different times (first the one
that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for minor memory leak on unloading module, bug #340
brain [Sun, 15 Jul 2007 12:34:30 +0000 (12:34 +0000)]
Fix for minor memory leak on unloading module, bug #340

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7439 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoExplicitly disallow mode prefixes > 126, to prevent excess muppetry by 3rd party...
brain [Fri, 13 Jul 2007 17:26:45 +0000 (17:26 +0000)]
Explicitly disallow mode prefixes > 126, to prevent excess muppetry by 3rd party module devs

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7438 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoImplement a way to disable options:maxwho, bug #348
brain [Thu, 12 Jul 2007 18:42:17 +0000 (18:42 +0000)]
Implement a way to disable options:maxwho, bug #348

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7437 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoApply patch from lain to fix multiple cgihosts not being read correctly.
peavey [Thu, 12 Jul 2007 15:13:44 +0000 (15:13 +0000)]
Apply patch from lain to fix multiple cgihosts not being read correctly.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7436 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoBackport patch from stskeeps for checking success of gnutls cert generation
brain [Wed, 11 Jul 2007 19:50:26 +0000 (19:50 +0000)]
Backport patch from stskeeps for checking success of gnutls cert generation

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7435 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFix for bug #347.
brain [Wed, 11 Jul 2007 16:59:10 +0000 (16:59 +0000)]
Fix for bug #347.
WARNING: QA PEOPLE, THIS NEEDS TESTING!!!!
Test this with lots of squits and connects, and i mean lots and lots in all different ways you can think of, /squit, pingout, closing the connection with a firewall etc.

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7434 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoClarifying comment
brain [Tue, 10 Jul 2007 18:00:35 +0000 (18:00 +0000)]
Clarifying comment

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7433 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoThis should fix the rest of remote kill nick hiding
brain [Tue, 10 Jul 2007 17:59:07 +0000 (17:59 +0000)]
This should fix the rest of remote kill nick hiding

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7432 e03df62e-2008-0410-955e-edbf42e46eb7

16 years agoFirst part of fix for bug #344
brain [Tue, 10 Jul 2007 17:46:03 +0000 (17:46 +0000)]
First part of fix for bug #344

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7431 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoImplement /dalinfo, as a joke. Consider this an easter egg.
brain [Sat, 7 Jul 2007 21:13:12 +0000 (21:13 +0000)]
Implement /dalinfo, as a joke. Consider this an easter egg.
More debug logging in m_ssl_openssl, still not fixed

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7430 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoAdded some missing parameter checking in m_swhois
special [Sat, 7 Jul 2007 19:58:16 +0000 (19:58 +0000)]
Added some missing parameter checking in m_swhois

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7429 e03df62e-2008-0410-955e-edbf42e46eb7

17 years agoWarning: Loads of craq logging in here atm. /connect with openssl is broken, gnutls...
brain [Fri, 6 Jul 2007 17:31:44 +0000 (17:31 +0000)]
Warning: Loads of craq logging in here atm. /connect with openssl is broken, gnutls seems fine

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7428 e03df62e-2008-0410-955e-edbf42e46eb7