summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2006-11-26005 tokens: "ESILENCE SILENCE=999"brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5805 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Add a description to an exception in the constructor, also reformat all the ↵brain
if() without a space that om did :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5803 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Tidy up space indentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5802 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26fix a few confusing returnspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5801 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Improved drop-in replacement for cmd /SILENCE. This first draft features ↵peavey
server side blocking of private messages, channel messages, notices, invites based on the silence hostmask. Also you can make excludes to your SILENCE rules. See source for examples. Flames, comments, edits are welcomed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5800 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Make numeric 443 ERR_USERONCHANNEL conform to the RFCpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5799 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-26Make silence list removals and additions a ton faster by making the silence ↵brain
list a map. Note that this probably wont port to peavey's improved silence, i wouldnt bother trying :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5798 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-25Improve openssl detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5797 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24whoops, !defined not undef!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5795 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24Make this smarter when we dont have pkg-configbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5794 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24More fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5793 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24Fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5792 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24Smarter openssl detectionbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5791 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-24In answer to w00ts question, the channel might not exist, because of the ↵brain
following situation user A exists on both servers. When servers link, user A is collided, but one or both servers still get the FJOIN: FJOIN #chan 1234 :@,A of course, A is gone, the only join to the channel fails, so the channel actually doesnt exist at the end of the loop, so chan == NULL :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5790 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-23Fix #176, not sure how channel can't exist after being created, but ↵w00t
apparantly it can happen git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5789 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-22Fix my fix, it crashed (thanks skenmy, sorry)w00t
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5787 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-22Disallow mode prefix # since it will mess up /whois and /privmsgpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5786 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-22Removed <options:tempdir> - this hasn't been used since modules were updated ↵special
to not copy before load (quite awhile ago) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5785 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-21Fix spurious deops on channel creation, pointed out by jilles, noted by a ↵w00t
number of people. :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5784 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-21fix for bug #175, change OnUserRegister to return int, and if greater than 0 ↵peavey
= user was quit and stop propagating to rest of loaded modules. Also bumb the module API version. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5783 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-21Fixed gnutls_rpath.pl to do rpath for all paths, not just gnutls - this ↵special
fixes an issue with systems that want to use libgcrypt or libgpg-error in nonstandard locations git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5781 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Remove spacebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5780 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Ooops, remove my debug lineom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5779 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Also return for 7.x series > 7.3.15, this still wants testing :p (which ↵om
versions actually have the functions, I'm pretty happy with the script working properly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5778 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Hopefully uncraq this script enough to actually work, should return for ↵om
versions > 8.1.4 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5777 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Merge pgsql stuff from darix, but im sure theres something to be looked at ↵brain
in the helper script git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5776 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Use pkg-config to detect lib paths - thanks darix we've been looking for ↵brain
this for ages :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5772 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-19Fix all the _FORTIFY_SOURCE warnings except "punned pointer".brain
We CANNOT fix this, as it is the recommended (and only) way to dlsym a symbol from a .so file. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5770 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-18Fix a major whoopsie in that class i just added. It must be derived using ↵brain
virtual methods, because each TYPE of bitmask must have its own static allocation of flags. See the (long winded) comments. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5762 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-18Reduce size of max number of bytes in a bitfield from a 4 or 8 byte field to ↵brain
a 1 byte field (unsigned char). This still allows storage of 8*255 bits, which is MORE than enough (for the interested, its 2040 bits) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5761 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-17Remove some debug, add some comments, throw exception in Get() when passed ↵brain
an invalid irc::bitfield git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5759 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-17Fix this so it works, passes test case. Provide a method to query for a bit ↵brain
and to return the total size in bytes of the bitset git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5758 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-17Add irc::dynamicbitmask class. Feel free to take a look and offer ↵brain
suggestions, as far as i can tell its about as efficient as im going to make it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5757 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-16Make STATS i, y, c, n more relevent to 1.1brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5756 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-16Fix /whois on users with lots, and lots of channels (see /whois idleserv). ↵w00t
Was broken by the indroduction of OnWhoisLine stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5755 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15Add WHO flag 'm' to show users who have a mode sequencebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5754 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15Tidy up some stuffbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5753 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15The array should no longer be staticbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5752 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15All of the void* cast stuff gone!!!brain
Todo: comment all this stuff... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5750 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15Remove tons of pointer craq (theres still a tinnny bit more to remove)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5749 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15Don't allow a non-oper to view another users modes. This slightly tweaks the ↵brain
rfc, because the rfc says even opers shouldnt be able to view modes but thats just a backwards pain in the neck. Also, remove the system from 1.0 whereby an oper CAN change a non-opers modes (except +o) because all this did was confuse services packages. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5748 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-15Added <oper:swhois> to m_swhois, which will override <type:swhois> if specifiedspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5747 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Tons of tweaks to the config stuff for the corebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5744 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Tidyup and tons of debug in here, to troubleshoot an ongoing issue with ↵brain
gcc3.3 and what seems like a stack corruption git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5743 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Another couple of 'forgot to memset'sbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5742 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Properly zero the epoll_event in epollengine WantWrite to stop a valgrind ↵brain
warning git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5741 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-14Inherit ModuleException from std::exception rather than classbasebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5740 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13Modify server counts in /lusers to show number of servers actually visible ↵brain
if you arent an oper and we're hiding ulines git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5739 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13use --iter instead of iter-- in prunewhowaspeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5738 e03df62e-2008-0410-955e-edbf42e46eb7
2006-11-13fix for bug #173, unsafe delete while iteratingpeavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5737 e03df62e-2008-0410-955e-edbf42e46eb7