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
brain
2e4f3512c9
Detect openssl on freebsd with the openssl binary, so we can find the base version as well as the ports version
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9589 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:50:53 +00:00
brain
6a64a69fbc
Fix this up a bit nicer
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9588 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:46:33 +00:00
brain
2d7e463111
and make it work right...
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9587 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:23:27 +00:00
brain
1b8b477efc
Add some stuff from the freebsd port based on ideas by Matthew Seaman which allow inspircd to use the base version of openssl on freebsd
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9586 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-27 14:02:30 +00:00
bricker
e6a76f838a
I not i
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9585 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-26 20:36:06 +00:00
bricker
6feb3046c8
a long road of uniformed messages ;)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9584 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-26 19:50:50 +00:00
brain
2c0e1c297d
Remoteconnect and remotequit should be local-only snomasks
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9583 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23 18:22:11 +00:00
brain
65863c30ad
Fix from yesterday, properly fix timedbans, much neater
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9581 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23 16:02:08 +00:00
w00t
fefc5fbd38
Fix
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9580 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23 10:22:36 +00:00
w00t
3a0c20b609
Warn, don't throw..
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9579 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-23 10:21:59 +00:00
brain
39af36e058
Break! ...no actually, take the break out :)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9578 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-22 16:09:03 +00:00
w00t
b9a3d9e71f
Show command line on warnings for darix (probably)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9577 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-22 12:26:05 +00:00
brain
6a9ca88564
Remove debug (This also fixes a bug that peavey and i found regarding the already_sent not being wiped properly on first use)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9576 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 23:18:51 +00:00
brain
d996e8d686
Fix bug found by peavey, which much frustrated him and w00t. He leiks mudkipz. Also fix bug #522 reported by Casey
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9575 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 23:16:07 +00:00
brain
15a1ffae23
Fix quietbans and hidesplits etc, cull list's sending a seperate quit message to normal users was broken
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9574 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 22:19:18 +00:00
w00t
28a1967177
Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 20:54:37 +00:00
w00t
35a644c066
Remove OnRehash of m_chanprotect: bad idea, and it's broken anyway.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9572 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 20:36:15 +00:00
brain
6f13968a6f
Fix stray /MD that should be /MP
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9569 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 17:43:02 +00:00
brain
21212e448f
Fix to use dll in debug build
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9568 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 17:12:46 +00:00
brain
42c52f2a29
Set runtimes correctly, thanks :-)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9567 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 17:11:14 +00:00
brain
69dd64199b
Add VC9 projects. I cant maintain these, i will be reliant on patches from other users that do use this compiler
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9566 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 17:05:31 +00:00
brain
98659aa0dc
Merge in large patchset from GreenReaper, useful fixes for freeing a ton of different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 16:59:23 +00:00
brain
f21617328a
Remove the craqy self-restarting loop in trunk, and use proper safe iterators to avoid it
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9564 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 16:33:08 +00:00
brain
516e95e6f6
Patch to fix timedbans crash reported earlier today, thanks for the headsup wonderwal
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9563 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-21 16:24:44 +00:00
brain
cd87c3d447
Add hand-crafted resource script, contains version information and icon definition
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9556 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-20 21:05:49 +00:00
brain
e5131f92b3
Fix RemoveCommands to remove all commands (this function had some really odd removal logic?)
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9554 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-20 18:58:59 +00:00
peavey
a36d5a1395
fix text in validate methods where option was moved to either performance or security.
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9552 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 23:39:30 +00:00
brain
a44bcfbb11
Stray newline
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9551 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 19:30:24 +00:00
brain
4dec4d125b
Extract and run the vs redistributable to $TEMP, not to install dir. saves us 2.6 megs on install space
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9549 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 18:45:44 +00:00
brain
22c771094b
Bad test code here
...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9548 e03df62e-2008-0410-955e-edbf42e46eb7
2008-04-19 16:34:52 +00:00