6411 Commits

Author SHA1 Message Date
brain
d49e33b22c Add template creation tool for caller classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7565 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:01:18 +00:00
brain
f827df8403 Add stuff for functors. Currently, as a test case only InspIRCd::IsNick has been 'functorized'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7564 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 16:58:56 +00:00
peavey
77b0de3fed Begin move of rehash to server.cpp - broken rehash from cmdline for now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7563 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 15:07:27 +00:00
peavey
b9658bfe6d svn add I fail it
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7562 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 11:54:08 +00:00
peavey
326191cd16 Put FileLogger in it's own class. Useful when logging doing more focused logging
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7561 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 11:53:07 +00:00
w00t
c88d4a3511 Replace some voodoo with a define
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7556 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 20:21:29 +00:00
w00t
2f44ee5b2a Now with more compilable goodness - this commit never happened.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7555 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 20:04:07 +00:00
w00t
88516c29b7 This is no longer the case, userrec::QuitUser is safe, so use it.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7554 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 20:02:13 +00:00
peavey
ee47b42586 Fix comment so it makes sense.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7552 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 16:56:23 +00:00
w00t
62e03b9d83 Update a comment, remove another one that's useless
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7551 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 16:49:09 +00:00
peavey
48be23796f And this should be the last static
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7550 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 16:22:12 +00:00
peavey
1ec51cea95 A bit of static lingering
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7549 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 16:17:16 +00:00
peavey
c521c75a2d And install libIRCDserver too :>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7548 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 15:45:08 +00:00
peavey
ea47684780 Bye bye Cygwin and static builds o/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7547 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 15:33:29 +00:00
w00t
2b51585f8b 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
2007-07-24 15:28:00 +00:00
peavey
9c8287feef server.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7545 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 15:16:44 +00:00
peavey
2174d15de4 server.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7544 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 15:16:19 +00:00
w00t
52525bc3df And remove it from the header..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7543 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 15:03:34 +00:00
w00t
c30a6f1a52 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
2007-07-24 14:55:47 +00:00
w00t
890cf3e5a2 Move more modules related stuff to modules.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7541 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 14:51:38 +00:00
w00t
30fcadd196 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
2007-07-24 14:39:46 +00:00
w00t
46018cde08 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
2007-07-24 14:30:15 +00:00
w00t
886c51566b 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
2007-07-24 14:08:16 +00:00
w00t
d556a4f874 A few more I missed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7535 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 12:18:54 +00:00
w00t
21f4b3a7bf Convert some ancient GlobalCulls usage into userrec::QuitUser
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7534 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 12:14:26 +00:00
w00t
873b749ddc Remove an out of date comment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7533 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-24 11:51:52 +00:00
peavey
2174339311 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
2007-07-24 10:59:08 +00:00
brain
f12fd5382f 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
2007-07-23 23:10:16 +00:00
w00t
05670eb4a9 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
2007-07-23 21:56:34 +00:00
w00t
fcfb142828 Remove darwin hax from 1.2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7526 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 21:48:02 +00:00
w00t
b5944899a9 Add some documentation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7524 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 21:44:16 +00:00
w00t
037b3cc242 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
2007-07-23 21:35:39 +00:00
w00t
525986cc01 Squash a warning reported by owine
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7519 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 21:21:15 +00:00
w00t
932b19d38b Rename this function so it is self documenting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7518 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 21:13:44 +00:00
w00t
fb5e24d683 Clean up the indenting here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7517 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 21:08:56 +00:00
w00t
119f638eda Fix a bug reported downstream regarding cloaking keys
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7513 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 20:53:38 +00:00
brain
bfdff71b4f Yes, it will be. (see the file)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7509 e03df62e-2008-0410-955e-edbf42e46eb7
v1.2.0fork
2007-07-23 18:25:13 +00:00
w00t
5e7efa495f 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
2007-07-23 18:07:43 +00:00
brain
10ef0fde2e 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
2007-07-23 18:06:57 +00:00
w00t
7b9d883eec Make these notices a little more helpful
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7505 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 18:04:57 +00:00
w00t
a25ebde227 Bit more tidying. Add some comments here, too.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7504 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 17:58:57 +00:00
w00t
d6194cb02c Minor cleanup
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7503 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 17:51:01 +00:00
brain
f86d7e3982 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
2007-07-23 17:42:48 +00:00
w00t
5aaa38bea4 Fix for bug #358, by rogalek.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7501 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-23 17:22:10 +00:00
burlex
480e1e9e1f * 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
2007-07-23 00:37:03 +00:00
frostycoolslug
3e5634346e 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
2007-07-22 23:17:51 +00:00
brain
2d7c523537 Grrr
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7498 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-22 17:40:11 +00:00
brain
cc0deea232 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
2007-07-22 17:38:22 +00:00
peavey
b30006781f Add syntax.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7496 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-22 14:10:49 +00:00
peavey
6053deccb2 Add m_taxonomy.so to example config.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7495 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-22 13:52:23 +00:00