summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-11-10Implement a change for bug #171. It might not be pretty in the /list output, ↵brain
but the rfc DOES say we must do something like this. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5678 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10These should now be VF_COMMON, they sync databrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5677 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Make /stats s more detailed, fix a grammar errorbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5676 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Whoops, make /stats s workbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5675 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add /stats sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5674 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Oops, fix crashbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5673 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Whoops, properly handle rehash now that new filters might be added by /FILTERbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5672 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Document changes to m_filter and m_filter_pcre a little.brain
Actually add the metadata stuff to Implements() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5670 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Implement on-burst synching of filtersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5669 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Oops, forgot command source, these wouldnt be able to be unloaded properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5668 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Implement the /filter command. Note that this is currently untested, and ↵brain
propogation of filters between servers on burst isnt implemented yet (This is next on my todo) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5667 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Add gline type, and <filter:duration> value to say how long to ban for.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5666 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-10Inherit m_filter.cpp and m_filter_pcre.cpp from a base set of classes, so ↵brain
that changes for /filter command and gline actions etc only need to be made in one place (the base classes header) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5665 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-09Move peaveydk to core developers, jamie to contributors as he appears to be ↵w00t
AWOL. Well done, peavey. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5664 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Fixed broken syncing for glines and elines using idents - thanks to ↵special
dotslasher for finding and peaveydk for finding the fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5661 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Apply patch for bug #165 (compile warning for users.cpp) by peaveydkspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5660 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-06Fix IPv4 resolution, spank satmd if you were affected by thisw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5659 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Fixed bug #164 by peaveydkspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5658 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Modified the server-to-server TIME command to report the real time (without ↵special
delta), and display the delta in the output from m_alltime git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5657 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Whoops, make targets case insensitive when cutting down a comma seperated listbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5656 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Older gcc gets confused when the only parameter has a default value? O_obrain
Changed an Instance->Time() to Instance->Time(false) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5655 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Change message to indicate that the count only includes client portsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5654 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Fix the 'not all ports could be bound' warning to not count server ports at ↵brain
this point git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5653 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Made the 'force' parameter to BURST and TIMESET uppercase to satisfy the ↵special
pedantic brain git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5651 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added the <options:notimesync> flag to disable time syncingspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5650 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-05Added time syncing! This is fairly simple - servers exchange timestamps and ↵special
use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04one line tweak, if the prefix is empty, dont echo 'unknown prefix' to the ↵brain
debug log git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5648 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04Smart voodoo to weed out duplicates in a comma seperated list for LoopCall. ↵brain
voooodooo! Thanks for the suggestion of using std::map, w00tie :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5647 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04Fix remote quit notices (some were in the wrong snomask)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5646 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04Show ident when expiring g and k linesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5645 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04Fix comma-seperated list handling by CommandParser::LoopCall, should fix ↵brain
/amsg etc. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5644 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04As requested by satmd, inspircd will now run with no client ports configuredbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5643 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-04Merge peaveys patch, tracker #162brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5642 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Fixed at last.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5640 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Ive been unable to commit this since 9am, somehow port 22 is unusable at ↵brain
work now, even though we need to use it... damn cable and witless. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5639 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Took out a header we needed to keep. Im done stick a fork in mebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5638 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Hmm, svn said there was a conflict here, but nobody had committed :/brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5637 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Revert special's sqloper change, nice try but only half a biscuit.brain
With the old fix, it would echo out all the oper failure notices first then try again, annoying all the opers. The new version uses a CommandParser method i added, to again use OnPreCommand, halt the /oper command, but after doing the sql lookup call the original handler of the OPER command with the original user and pass, so the original handler handles the definitive failure message. DAMNIT STOP COMMITTING git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5636 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Switched m_sqloper to use OnPostCommand instead of OnPreCommand, meaning the ↵special
config tags are checked before MySQL git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5635 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-03Fix compile error, and spank Brainw00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5634 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02When we get an event on a userrec of EVENT_ERROR, and errornum is 0, send ↵brain
the error message "EOF from client" rather than using strerror and getting: Quit (Unknown error: 0) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5633 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02Please in the future everyone: DO NOT submit patches via nopaste. Nopaste is ↵brain
not designed for this, and mangles your patch so we cant apply it. gzip it instead! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5632 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02Apply patch by satmd which performs ipv4 lookup on 4in6 usersbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5631 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02This is tidier, we dont need a seperate bool and intbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5628 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02LoadModule will now also return false if the glob pattern matches no modules ↵brain
and loads nothing git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5627 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02Allow wildcards in LoadModule calls. If a filename contains either * or ? it ↵brain
will attempt to readdir() the currently configured module dir and load all modules which match. If any one module fails, LoadModule then returns false. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5626 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-02Added m_alltimespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5625 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Added the send_push event to m_spanningtree (send raw text to a remote user)special
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5624 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01New events for special. Event id's "new_server" and "lost_server". The data ↵brain
is a pointer to a char* containing the server name. Eventally, i might expand this to include more data about the server such as its 'gecos' field etc, but not just yet. Let me know what data you want first. Event source is valid and will point at the protocol module. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5623 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-01Fixed another overflow, identical to the last onespecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5622 e03df62e-2008-0410-955e-edbf42e46eb7