]>
git.netwichtig.de Git - user/henk/code/inspircd.git/log
brain [Mon, 12 May 2008 22:40:44 +0000 (22:40 +0000)]
code tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9716
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 21:16:04 +0000 (21:16 +0000)]
httpd connection close fixes (these need to be backported to 1.1 at some point?) and acl tweaks to make http auth work
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9714
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 20:34:52 +0000 (20:34 +0000)]
Add HTTP auth
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9713
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 19:42:36 +0000 (19:42 +0000)]
Add example config
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9712
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 19:37:50 +0000 (19:37 +0000)]
Add support for blacklists and whitelists, just http password auth to go (the most complex part)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9711
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 19:26:52 +0000 (19:26 +0000)]
Flesh this out some more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9710
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 19:06:36 +0000 (19:06 +0000)]
Skeleton ACL module, and hooks for it. This will provide ip restrictions, passwording etc for httpd modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9709
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 16:00:34 +0000 (16:00 +0000)]
Patch ReadFile() not to bork on one line files, and ensure it works ok with win32 (it does)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9707
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 12 May 2008 15:59:57 +0000 (15:59 +0000)]
Fix wildcard matching in win32, seems that incrementing an iterator dereferences it internally on win32, so iter++ when iter == container.end() drops an assert. YES, an assert. No fucking throw, making it a fucking pain to debug (no bt on assert, program exits)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9706
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 11 May 2008 17:51:07 +0000 (17:51 +0000)]
Show keys to opers correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9705
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 11 May 2008 14:57:30 +0000 (14:57 +0000)]
Dont obscure channel keys in the stats
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9704
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 11 May 2008 13:49:22 +0000 (13:49 +0000)]
cleanup an old unused var
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9703
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 11 May 2008 00:27:55 +0000 (00:27 +0000)]
Show +sp channels to opers correctly
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9702
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 10 May 2008 23:00:43 +0000 (23:00 +0000)]
update svn ignore to create less noise on conflicts and failed patching.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9700
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 21:15:56 +0000 (21:15 +0000)]
Improve this not to use pointer maths directly, use an iterator
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9699
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 21:11:13 +0000 (21:11 +0000)]
Fix for bug #532 reported by dantheman, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9698
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 19:56:36 +0000 (19:56 +0000)]
Check for " to " too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9697
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 19:52:07 +0000 (19:52 +0000)]
Add a 'sanitize' function to sanitize special characters in the output, <, > and & etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9696
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 18:24:21 +0000 (18:24 +0000)]
Add ident, port, ip to user info in <user> tag
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9695
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 18:17:15 +0000 (18:17 +0000)]
Give tons more information in the xml feed, should be enough to construct just about any stat i can think of right now. let me know if you need more info in the feed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9694
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sat, 10 May 2008 16:43:17 +0000 (16:43 +0000)]
Fix for last nights blockcaps tweak to make it a little more accurate
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9692
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sat, 10 May 2008 00:04:14 +0000 (00:04 +0000)]
Fix LoadConf always reading 1 extra byte of random garbage.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9691
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 9 May 2008 22:25:00 +0000 (22:25 +0000)]
If nobody else is going to submit a diff, may as well do it myself. Using your noggin avoids two loops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9690
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 22:14:06 +0000 (22:14 +0000)]
Add *.diff and *.patch to ignores
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9688
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 20:44:31 +0000 (20:44 +0000)]
Same fixes to make this module scale much better. Dont connect on each query, keep open and send a byte like MySQL module.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9687
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 20:35:37 +0000 (20:35 +0000)]
Fixes to make this module scale much better. Dont connect on each query, keep open and send a byte like MySQL module. Now with cleanup of bufferedsocket thanks to w00t <3
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9686
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 20:31:14 +0000 (20:31 +0000)]
nuke some debug (snatch)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9685
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 9 May 2008 19:11:12 +0000 (19:11 +0000)]
Don't stringjoin here, we don't for any other commands (cban, *line) so I'd like to stay consistant. This also won't confuse any third party apps. This is my fault, I hated colons when I first started working on insp. ;p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9684
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 9 May 2008 18:43:48 +0000 (18:43 +0000)]
Don't route after nuking the user from orbit, there's no point (minor)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9683
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 9 May 2008 18:39:37 +0000 (18:39 +0000)]
Add test suites for edge cases and in the process, spot a crash in the new code and fix it (empty mask in the match() functions makes it bomb)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9682
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Fri, 9 May 2008 17:24:50 +0000 (17:24 +0000)]
Convert CIDR matching and wildcard matching to operate on std::strings
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9681
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 9 May 2008 16:11:07 +0000 (16:11 +0000)]
Fix
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9680
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 15:04:22 +0000 (15:04 +0000)]
Fix crash if OnCheckBan is called and there is no list, the if was reversed.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9679
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Fri, 9 May 2008 14:16:50 +0000 (14:16 +0000)]
Port from hottpd: Split src/socket.cpp out into src/cidr.cpp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9678
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 04:10:11 +0000 (04:10 +0000)]
Fix segfault on rehash and tweak the connect code.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9677
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 04:09:16 +0000 (04:09 +0000)]
Fix some indenting.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9676
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 04:08:27 +0000 (04:08 +0000)]
Add defaults for SQLHost since comparing depends on them being initialised. Add also overload for operator!= for SQLhost.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9675
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Fri, 9 May 2008 01:13:02 +0000 (01:13 +0000)]
Fix restart code, by getting run path and argv before calling Cleanup()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9674
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 8 May 2008 22:40:11 +0000 (22:40 +0000)]
Add call to protocol interface to get useful info on the server map. Return a std::list of classes each of which has a server name, parent server name, user and oper count, and latency in millisecs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9673
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 8 May 2008 22:15:00 +0000 (22:15 +0000)]
Make this nicer, rely on the last write event after the Write() that sends all the data, not on a timer
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9671
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 8 May 2008 22:02:08 +0000 (22:02 +0000)]
Remove the timeout stuff, it is not stable and not really required, we are not emulating apache here but making a bare minimum of compliance to pass along xml etc.
Personally i only really care about compliance with irc RFCs :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9669
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Thu, 8 May 2008 17:27:49 +0000 (17:27 +0000)]
When searching by servername without wildcards, conceal +i users no matter what craq the spec was on
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9668
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 8 May 2008 17:06:46 +0000 (17:06 +0000)]
Possible todo
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9666
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 8 May 2008 17:02:23 +0000 (17:02 +0000)]
Clarify a comment that confused me
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9665
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 8 May 2008 16:54:16 +0000 (16:54 +0000)]
Rename to m_connectban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 8 May 2008 16:53:03 +0000 (16:53 +0000)]
Prepare to rename this, change it's purpose from quitban to connect ban (was I smoking crack?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9663
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Thu, 8 May 2008 16:38:30 +0000 (16:38 +0000)]
Remove a level of nesting from this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9662
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 7 May 2008 21:53:30 +0000 (21:53 +0000)]
Masterful rewrite of User::AddBuffer to remove a string copy (and make more efficient) thanks to some nifty string manipulations. This should provide benefit on highly loaded nodes. This has *not* been thoroughly tested considering it's criticality, but I have spent the past ~4 hours writing and testing it, and it seems ok.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9661
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Wed, 7 May 2008 18:54:14 +0000 (18:54 +0000)]
Add support for /nick 0: changes nick to UID, which can come in useful for circumstances when trying to connect while your nick is in use. Also supported by various others (ircd etc?). This also moves validation checking up a bit, avoiding two calls to IsNick in an obscure circumstance (hooray).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9660
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Wed, 7 May 2008 18:24:55 +0000 (18:24 +0000)]
Make u_listmode more sensible and make it properly use WriteNumeric, and a few other misc fixes found during today
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9659
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 6 May 2008 22:34:45 +0000 (22:34 +0000)]
Fix broken m_alias, cant preallocate and then push_back, because then its maxparams + size :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9658
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Tue, 6 May 2008 22:05:19 +0000 (22:05 +0000)]
Fix bad throws and some other stuff in this module
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9657
e03df62e -2008-0410-955e-
edbf42e46eb7
special [Tue, 6 May 2008 21:07:42 +0000 (21:07 +0000)]
Removed the verbosity in 'make clean' to fix issues with OpenBSD and possibly others
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9655
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Tue, 6 May 2008 21:04:28 +0000 (21:04 +0000)]
Fix typo +c => +C reported by alamar
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9653
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 5 May 2008 21:21:13 +0000 (21:21 +0000)]
Remove JOIN sending, all should be FJOIN
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9651
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 5 May 2008 21:19:03 +0000 (21:19 +0000)]
Snotice on failed oper.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9650
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 5 May 2008 21:17:09 +0000 (21:17 +0000)]
Okay, this was good in theory, but totally and utterly fucked in implementation. Rip out automatic global snotice code. It's not going to be *that* difficult to trigger global snotice with protocol interface now anyway I guess. We need to re-add calls to protocol interfaces in places like failed oper and so on.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9649
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 5 May 2008 20:39:40 +0000 (20:39 +0000)]
Don't propegate SETHOST, ChangeDisplayedHost sends out hostchange anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9648
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 5 May 2008 13:01:42 +0000 (13:01 +0000)]
Un-break this so remote users still get RemoteMessage okay if targetted at a specific user, remove comment also as it's using PI now anyway
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9646
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 5 May 2008 12:51:25 +0000 (12:51 +0000)]
Alter remotemessage here to not do what w00ts patch did, twice
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9645
e03df62e -2008-0410-955e-
edbf42e46eb7
w00t [Mon, 5 May 2008 12:44:23 +0000 (12:44 +0000)]
Don't re-propegate CHGHOST unnecessarily
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9644
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Mon, 5 May 2008 10:10:34 +0000 (10:10 +0000)]
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
peavey [Mon, 5 May 2008 10:07:55 +0000 (10:07 +0000)]
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
brain [Mon, 5 May 2008 10:05:47 +0000 (10:05 +0000)]
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
brain [Mon, 5 May 2008 05:34:22 +0000 (05:34 +0000)]
Fix warning
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9640
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 03:56:48 +0000 (03:56 +0000)]
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
peavey [Mon, 5 May 2008 03:52:49 +0000 (03:52 +0000)]
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
peavey [Mon, 5 May 2008 03:40:03 +0000 (03:40 +0000)]
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
peavey [Mon, 5 May 2008 02:53:08 +0000 (02:53 +0000)]
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
peavey [Mon, 5 May 2008 02:47:50 +0000 (02:47 +0000)]
Convert a few missing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9635
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 02:43:28 +0000 (02:43 +0000)]
Convertions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9634
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 02:37:38 +0000 (02:37 +0000)]
oops, fix this one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9633
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 02:35:06 +0000 (02:35 +0000)]
Convert a few
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9632
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 02:34:46 +0000 (02:34 +0000)]
Convert a few
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9631
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 02:29:09 +0000 (02:29 +0000)]
Convert even more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 02:25:06 +0000 (02:25 +0000)]
Convert more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9629
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Mon, 5 May 2008 02:06:59 +0000 (02:06 +0000)]
Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9628
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 01:10:16 +0000 (01:10 +0000)]
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
aquanight [Mon, 5 May 2008 00:40:23 +0000 (00:40 +0000)]
Convert m_spanningtree
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9626
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Mon, 5 May 2008 00:21:24 +0000 (00:21 +0000)]
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
peavey [Mon, 5 May 2008 00:18:01 +0000 (00:18 +0000)]
Convert convert convert
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9624
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 23:57:02 +0000 (23:57 +0000)]
converting m_d* done
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9623
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 23:49:54 +0000 (23:49 +0000)]
Done up to and including m_c.. sigh
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9622
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 23:48:07 +0000 (23:48 +0000)]
Convert a few more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9621
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 23:28:57 +0000 (23:28 +0000)]
Convert a whole bunch more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9620
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 23:13:23 +0000 (23:13 +0000)]
Converting
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9619
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 23:07:52 +0000 (23:07 +0000)]
Convert this one too
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9618
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 22:46:08 +0000 (22:46 +0000)]
oops strgecos is already a std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9617
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 22:44:03 +0000 (22:44 +0000)]
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
peavey [Sun, 4 May 2008 22:34:00 +0000 (22:34 +0000)]
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
peavey [Sun, 4 May 2008 22:23:46 +0000 (22:23 +0000)]
fix this
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9614
e03df62e -2008-0410-955e-
edbf42e46eb7
peavey [Sun, 4 May 2008 22:17:02 +0000 (22:17 +0000)]
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
brain [Sun, 4 May 2008 21:49:20 +0000 (21:49 +0000)]
*param.c_str() -> param[0]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9612
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 4 May 2008 21:48:00 +0000 (21:48 +0000)]
< 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
brain [Sun, 4 May 2008 21:41:34 +0000 (21:41 +0000)]
Update comments for new api
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9610
e03df62e -2008-0410-955e-
edbf42e46eb7
brain [Sun, 4 May 2008 21:41:09 +0000 (21:41 +0000)]
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
brain [Sun, 4 May 2008 21:37:36 +0000 (21:37 +0000)]
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
aquanight [Sun, 4 May 2008 01:06:02 +0000 (01:06 +0000)]
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
aquanight [Sat, 3 May 2008 21:36:17 +0000 (21:36 +0000)]
Make creation of ~/.inspircd properly check for EEXIST
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9605
e03df62e -2008-0410-955e-
edbf42e46eb7
aquanight [Sat, 3 May 2008 21:30:15 +0000 (21:30 +0000)]
Allow KICKing multiple nicks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9604
e03df62e -2008-0410-955e-
edbf42e46eb7