summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-09fix compile errors (whoops)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10488 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09Whoops, schoolboy errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10487 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09Add connmutex to mutex the connections vector, otherwise we can get access ↵brain
from two threads and it is stl. ew. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10486 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09peavey, w00t, this works now. Methods werent copied right. Please feel free ↵brain
to base the other sql module fixes on the diffs that i used to fix this. ALSO now works on win32, tested! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10485 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09fixed a /MT to be /MDbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10484 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09fix various bodge-ups, we must have been tired when fixing this in the first ↵brain
place to use the new api, methods are in the wrong places. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10483 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-09not test compiled yet: sql modules werent working because someone chopped ↵brain
out the important code that determines what port the new socket is bound to when binding to port "0". The GetPort() method belongs in the listensocketbase derived socket not the bufferedsocket one, and the code for determining the getsockname() belongs in the ctor for the listen derived socket. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10482 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove a (now nonexistant) reference from .hw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10481 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Check the wrong way around is just stupid. ;pw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10480 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Fix warning, thanks peavumsw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10479 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Growl.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10477 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove crappy, unsafe (and now unneeded!) casts.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10476 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08More compile fixes.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10475 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Fix compile problems hopefully..w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10474 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08(Attempt to) convert MySQL to using listener base.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10473 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Remove old listening stuff from spanningtree, use a new derived listener class.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10472 e03df62e-2008-0410-955e-edbf42e46eb7
2008-09-08Give httpd a custom listener class, specialised in creating HttpServerSockets.w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10471 e03df62e-2008-0410-955e-edbf42e46eb7
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