8692 Commits

Author SHA1 Message Date
w00t
bfff438589 Fix missing semicolon in m_ssl_openssl [danieldg]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 23:19:52 +00:00
w00t
7a30c818ee Move a socket sanity check into the generic listener handler, avoiding the need to instantiate a user object in insane conditions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10463 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 23:15:05 +00:00
w00t
77b7c43004 Tidy up some of the internals a bit, making things a bit more extensible and future proof.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10462 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 23:08:32 +00:00
brain
66b1ab1f4d Fix windows project files
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10461 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 22:28:24 +00:00
w00t
631029ff1f Merge class connection in with class user (nothing else inherits it anyway, and all the fields in here were only really useful to users anyway)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10460 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 22:23:03 +00:00
w00t
78c14ffcc5 Merge the second interface for socket hooking into one, so it's all done by Add/Del/GetIOHook now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 20:07:50 +00:00
w00t
efee3a4d4e Initialising the member we added might be an idea.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10456 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:50:00 +00:00
w00t
2547339727 Make this work with older git, too (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10455 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:39:42 +00:00
w00t
330f1c8fe0 Use git describe rather than git-svn, it works better with secondary clones
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10454 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:34:04 +00:00
w00t
468d5c6d71 Updates
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10453 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:34:03 +00:00
w00t
5c090a439f Invite timeout on server-to-server is already a unix timestamp
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 19:34:02 +00:00
w00t
73b5d276db Fix IO hooking modules to use the new (not old) hooking call
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 18:49:55 +00:00
w00t
f012abe490 Fix a stupid error, and two warnings.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 18:31:25 +00:00
w00t
6b5d7cbbca Move socket hooking in inspsocket to utilise the new system properly.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10449 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 18:31:24 +00:00
w00t
3092a8ed89 Fix forward-declaration caused as a result of recent changes.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10448 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 18:31:23 +00:00
w00t
61fed23a3e Start moving IO hooking from being bufferedsocket based to residing in EventHandler, this will pave the way for a generic listener type, and also simplifies a lot of code.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10447 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 18:31:21 +00:00
w00t
f7bfee1e92 Move listensocket stuff into a file of it's own.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10446 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 18:31:20 +00:00
w00t
86b8e74c3a Don't execute multiple aliases after executing one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 17:10:52 +00:00
w00t
be812e3a41 Fix aliases returning multiple messages, thanks Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 17:02:06 +00:00
w00t
c7cdfe744d Fix compile. Try again, Ankit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 16:31:21 +00:00
w00t
fc86c60df8 Merge branch 'testbranch'
Conflicts:

	sources.list


git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10442 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 16:24:57 +00:00
w00t
8134bbd286 Test commit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10441 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 16:23:58 +00:00
w00t
4185ba9bb1 Set default values for <alias:usercommand> and <alias:channelcommand>, Ankit, please provide feedback.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 16:19:28 +00:00
w00t
3de8d7eee4 Also redirect errors to /dev/null to avoid messy output on VCS that aren't installed/in use
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10434 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 14:38:55 +00:00
w00t
f66960886f Nicer fix for REVISION stuff when using git, thanks danieldg for the basis.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10433 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 14:38:55 +00:00
w00t
94f956aef6 Another test commit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10432 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 14:20:58 +00:00
w00t
1e462dfbee Test commit from git
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10431 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 14:20:57 +00:00
w00t
c27e620cc7 Upgrade the upgrade command to ..upgrade better. Thanks danieldg.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10430 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 03:49:21 +00:00
w00t
5217069a0e Implement masking and descriptions for module manager, thanks danieldg
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 03:27:54 +00:00
w00t
3e72c8cb7e Allow comments in sources.list and list files (thanks danieldg)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10428 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 02:27:43 +00:00
w00t
bff8412503 Add default sources.list for modulemanager
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10427 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 02:25:47 +00:00
w00t
8424e1367b Add basic module manager, patch courtesy of danieldg.. still needs some work/review, but looks good
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10426 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07 01:51:21 +00:00
w00t
42a28a83e5 Add (currently untested and undocumented) fantasy command (<alias:channelcommand>) support.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10425 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 22:15:11 +00:00
brain
04416cb33d Grr at windows exports
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 21:55:47 +00:00
w00t
ec8ad2737e Rename some member fields; add <alias:usercommand>, default true - whether or not the alias may be used as a /command. Also add (but don't yet implement) <alias:channelcommand>, default false, as to whether or not the command may be used as a fantasy command.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10423 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 21:49:46 +00:00
w00t
3fc82f6c87 Restructuring to m_alias, this will be used for (optional) fantasy commands.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10422 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 21:28:56 +00:00
brain
5e4b7f9c2c fixes so m_sqloper builds on win
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 21:27:15 +00:00
brain
8a14e1223d Auto update modules from src/modules/extra by recopying them in configure if they exist also in src/modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10420 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 20:42:36 +00:00
w00t
a41015121d Modify aliases to use a multimap rather than a vector for storage + a map for quick existance checking, this makes processing an alias that exists O(log n), while keeping checking for nonexistant aliases O(log n) also, as well as saving us a few bytes of memory.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10419 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 20:06:28 +00:00
brain
43240de39d Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 14:41:44 +00:00
w00t
66917d76f5 Document m_operinvex
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10417 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:41:03 +00:00
w00t
3fab57d9ec Add m_operinvex, adds first use for extended invex (added by Brain). Allows for +I O:opertypemask, +b O:opertype, +e O:opertype.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10416 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:36:44 +00:00
brain
26dd701174 Depends on: ../../include/u_listmode.h
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:36:09 +00:00
brain
3b83811fa9 Speedups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10414 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:32:13 +00:00
brain
cc07a20aa2 Nope w00t it wasnt the last :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10413 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:30:45 +00:00
brain
0efd330721 Properly handle CIDR etc for user pointer extbans
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10412 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:29:24 +00:00
brain
7410e81e80 Make sure user is null when a literal is passed
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10411 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:25:58 +00:00
brain
4fa581ea12 Optional use of user object
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10410 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:21:35 +00:00
brain
5cd6c1a4f0 Whoops left something out
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10409 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:08:23 +00:00
brain
e9f1fd175b Publish interface in chanfilter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10408 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06 13:05:28 +00:00