summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-08Remove listening from BufferedSocket, it's bloaty and horrid. We have a ↵w00t
ListenSocketBase class to handle this instead now. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10470 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Make OnAcceptReady pure virtual, rename ListenSocket to ListenSocketBase, ↵w00t
create ClientListenSocket and inherit from ListenSocketBase to create User objects. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10469 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Move this to another (yet more appropriate) place, saves some syscalls in an ↵w00t
unlikely condition. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10468 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Add incoming IP to OnAcceptReadyw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10467 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Allow for silencing getmodules() output (is annoying when using modulemanager)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10466 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Add "list" and usage to modulemanager [danieldg]w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10465 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix missing semicolon in m_ssl_openssl [danieldg]w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10464 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Move a socket sanity check into the generic listener handler, avoiding the ↵w00t
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-07Tidy up some of the internals a bit, making things a bit more extensible and ↵w00t
future proof. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10462 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix windows project filesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10461 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Merge class connection in with class user (nothing else inherits it anyway, ↵w00t
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-07Merge the second interface for socket hooking into one, so it's all done by ↵w00t
Add/Del/GetIOHook now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10457 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Initialising the member we added might be an idea.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10456 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Make this work with older git, too (thanks danieldg)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10455 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Use git describe rather than git-svn, it works better with secondary clonesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10454 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Updatesw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10453 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Invite timeout on server-to-server is already a unix timestampw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10452 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix IO hooking modules to use the new (not old) hooking callw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10451 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix a stupid error, and two warnings.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10450 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Move socket hooking in inspsocket to utilise the new system properly.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10449 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix forward-declaration caused as a result of recent changes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10448 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Start moving IO hooking from being bufferedsocket based to residing in ↵w00t
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-07Move listensocket stuff into a file of it's own.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10446 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Don't execute multiple aliases after executing one.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10445 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix aliases returning multiple messages, thanks Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10444 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Fix compile. Try again, Ankit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10443 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Merge branch 'testbranch'w00t
Conflicts: sources.list git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10442 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Test commit.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10441 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Set default values for <alias:usercommand> and <alias:channelcommand>, ↵w00t
Ankit, please provide feedback. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10439 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Also redirect errors to /dev/null to avoid messy output on VCS that aren't ↵w00t
installed/in use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10434 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Nicer fix for REVISION stuff when using git, thanks danieldg for the basis.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10433 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Another test commitw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10432 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Test commit from gitw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10431 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Upgrade the upgrade command to ..upgrade better. Thanks danieldg.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10430 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Implement masking and descriptions for module manager, thanks danieldgw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10429 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Allow comments in sources.list and list files (thanks danieldg)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10428 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Add default sources.list for modulemanagerw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10427 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-07Add basic module manager, patch courtesy of danieldg.. still needs some ↵w00t
work/review, but looks good git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10426 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Add (currently untested and undocumented) fantasy command ↵w00t
(<alias:channelcommand>) support. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10425 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Grr at windows exportsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10424 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Rename some member fields; add <alias:usercommand>, default true - whether ↵w00t
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-06Restructuring to m_alias, this will be used for (optional) fantasy commands.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10422 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06fixes so m_sqloper builds on winbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10421 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Auto update modules from src/modules/extra by recopying them in configure if ↵brain
they exist also in src/modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10420 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Modify aliases to use a multimap rather than a vector for storage + a map ↵w00t
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-06Make ThreadEngine::Mutex() protected too, make the user use Lock() and Unlock()brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10418 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Document m_operinvexw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10417 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Add m_operinvex, adds first use for extended invex (added by Brain). Allows ↵w00t
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-06Depends on: ../../include/u_listmode.hbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10415 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-06Speedupsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10414 e03df62e-2008-0410-955e-edbf42e46eb7