w00t
ac8e888fd0
Don't re-propegate CHGHOST unnecessarily
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 12:44:23 +00:00
brain
484bf7243e
Add sanity checks to LoopCall to prevent miscalls like this by broken 3rd party modules
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9643 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 10:10:34 +00:00
peavey
bc4828bbbd
fix LoopCalls to not send param count thus avoiding a crash in command parser
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9642 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 10:07:55 +00:00
brain
287e4973e0
Calling wrong loopcall overloaded method, due to hasty search and replace earlier
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9641 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 10:05:47 +00:00
brain
6cc946d0a0
Fix warning
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 05:34:22 +00:00
peavey
50d0945486
and no need to cast parameters to std::string here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9639 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 03:56:48 +00:00
peavey
4dbb86cfec
parameters are already std::string no need to cast here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9638 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 03:52:49 +00:00
peavey
f9ef4ebc9d
fix some unitialised vectors and tidy up a bit.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9637 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 03:40:03 +00:00
peavey
e8bf6e5fdb
Conversion complete, distclean compiles cleanly again. (If everything works is another story)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9636 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:53:08 +00:00
peavey
860d753071
Convert a few missing
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:47:50 +00:00
peavey
bf5a8dc97f
Convertions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9634 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:43:28 +00:00
peavey
e95f77bc99
oops, fix this one.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9633 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:37:38 +00:00
peavey
82a5be10d0
Convert a few
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9632 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:35:06 +00:00
peavey
76b2c5c9cd
Convert a few
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9631 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:34:46 +00:00
peavey
1b4925f99f
Convert even more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:29:09 +00:00
peavey
943aae0168
Convert more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9629 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:25:06 +00:00
aquanight
b817341e21
Conversions
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9628 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 02:06:59 +00:00
peavey
dfaa7b4e52
Remove extra documented moduledir (reported by smartys). And move quietbursts documentaion from <option> section to <performance> section.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9627 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 01:10:16 +00:00
aquanight
a3d00f20ae
Convert m_spanningtree
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 00:40:23 +00:00
peavey
8232baefbf
and now aquanight, you can compile from m_m*
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9625 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 00:21:24 +00:00
peavey
5f6955a43e
Convert convert convert
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9624 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-05 00:18:01 +00:00
peavey
8e89fe75f9
converting m_d* done
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9623 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:57:02 +00:00
peavey
5fa533dcf7
Done up to and including m_c.. sigh
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9622 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:49:54 +00:00
peavey
1eb52771d6
Convert a few more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9621 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:48:07 +00:00
peavey
c2d1f2cdaf
Convert a whole bunch more
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:28:57 +00:00
peavey
222e912fc3
Converting
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9619 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:13:23 +00:00
peavey
72e9b74428
Convert this one too
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9618 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 23:07:52 +00:00
peavey
9300d6381c
oops strgecos is already a std::string
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9617 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:46:08 +00:00
peavey
098f92e100
Convert a few more modules to new API and command handler.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9616 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:44:03 +00:00
peavey
e44c77aa89
Ok 3rd time lucky, thanks for the pointers Brain
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9615 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:34:00 +00:00
peavey
ca6df5d5e1
fix this
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9614 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:23:46 +00:00
peavey
6b10fa5262
First attempt at converting to new command handler, please review diff Brain.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9613 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 22:17:02 +00:00
brain
95bc4eb841
*param.c_str() -> param[0]
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:49:20 +00:00
brain
291efc3c42
< MAXPARAMETERS for the size() check here can now be <= instead
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9611 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:48:00 +00:00
brain
b7904e2372
Update comments for new api
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9610 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:41:34 +00:00
brain
71eb82a980
Fix unused HandleServer to use new system too, and update comments to match api
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9609 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:41:09 +00:00
brain
ffbd1eebf0
Conversion of command handler params from "const char* const* parameters, int pcnt" to "const std::vector<std::string>& parameters". All of core is converted, but cant test it till the modules are converted.
...
IMPORTANT: The mode parser public calls have had to be tweaked a bit to also use the string vector. Note that this makes a LOT of our core a bit messy and paves the way to convert a lot of stuff from the mess
of .c_str() calls to using std::string params directly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9608 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 21:37:36 +00:00
aquanight
1c0efd2f56
Comment and improve check for access to ~/.inspircd/startup.log
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9606 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-04 01:06:02 +00:00
aquanight
907b61918f
Make creation of ~/.inspircd properly check for EEXIST
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9605 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-03 21:36:17 +00:00
aquanight
86dd9fa5ea
Allow KICKing multiple nicks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9604 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-03 21:30:15 +00:00
brain
dc7270e12e
Patch from jackmcbarn, revamps the helpop example full conf
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9602 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-02 16:35:57 +00:00
brain
787c16487e
Optimize MODE #chan b etc, avoid a 256 byte memset for duplicate mode checks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9601 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-02 16:01:45 +00:00
brain
0376f1d8be
Convert to SimpleUserModeHandler and SimpleChannelModeHandler
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9599 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01 19:56:16 +00:00
brain
ef79134812
Some modules throw CoreException, this is wrong wrongitty wrong! Throw ModuleException instead.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9598 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01 16:59:20 +00:00
brain
0c22834719
#define NO_CLIENT_LONG_LONG, makes mysql.h ANSI C++ compliant so that we can get rid of $NoPedantic. Test compiles ok.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9597 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01 16:52:21 +00:00
brain
f3abcf2bcf
Simple user/channel mode patch
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9596 e03df62e-2008-0410-955e-edbf42e46eb7
2008-05-01 16:12:45 +00:00
brain
61416a1885
remove debug
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9593 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-29 21:29:54 +00:00
brain
ddbc70ec8e
Backport fix for stripcolour not stripping colour codes, reported by jackmcbarn - thanks. Also make rebasing neater, output to current console/output window of visual studio, not a new console
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9592 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-29 21:29:28 +00:00
brain
4564ed215c
Extra support for freebsd openssl, allow user to pick between ports and base version if they have both, default to ports version in interactive, require a flag in ./configure
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9591 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 17:37:50 +00:00
brain
caa89fb37c
More stuff so that freebsd users can still use the ports version of openssl if they want
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9590 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 17:17:59 +00:00