6770 Commits

Author SHA1 Message Date
brain
6344881c9f Move a ton of stuff into caller* functors
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7578 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 16:36:37 +00:00
brain
e0b2608b68 Apply diff for userprocess.cpp from earlier in the day
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7577 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-26 15:57:50 +00:00
peavey
0bb707c10c Un-static InspIRCd::Exit and use SignalHandler instead.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7572 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 20:23:18 +00:00
peavey
eadd5cce87 Rehash from console works again due to new signalhandler. TODO: Use this to catch SIGTERM and exit cleanly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7571 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 19:46:25 +00:00
brain
c39ccd1fda Add macros up to 8 parameters
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7570 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:41:06 +00:00
brain
529f16e84b Shorthand macros DEFINE_HANDLER1()...DEFINE_HANDLER9() to save on defining functor classes that just implement Call()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7569 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:36:13 +00:00
brain
89bc1282b9 Turn IsIdent into a functor
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7568 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:21:30 +00:00
brain
914534be62 Comment the caller0....caller8 classes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7567 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:07:15 +00:00
brain
0143364a29 Forgot to add this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7566 e03df62e-2008-0410-955e-edbf42e46eb7
2007-07-25 17:03:16 +00:00
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