summaryrefslogtreecommitdiff
path: root/src/modules/m_rline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* OnRehash changes: split to multiple hooks to clarify use and prevent ↵Gravatar danieldg2009-05-241-2/+2
| | | | | | explosion of rehashes on a /REHASH * git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7
* Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported ↵Gravatar w00t2009-05-031-0/+3
| | | | | | by Taros. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7
* Update all wiki links to point to the new wiki. This was done automatically ↵Gravatar psychon2009-03-151-1/+1
| | | | | | | | | with the following command, only .Makefile.inc got some indent fixups by hand. for file in $(find -type f -and -not -path '*/.svn/*' -and -not -name '*.so') ; do sed -e 's#http://www.inspircd.org/wiki#http://wiki.inspircd.org#' -e 's#http://wiki.inspircd.org/index.php/#http://wiki.inspircd.org/#' -i $file ; done git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11223 e03df62e-2008-0410-955e-edbf42e46eb7
* Note to self, cast time_t to long int for printf... thanks Ankit for ↵Gravatar dz2009-01-281-1/+1
| | | | | | pointing this out. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7
* Make xline expiry messages a bit clearer that the xline may have expired a ↵Gravatar dz2009-01-281-1/+1
| | | | | | while ago, and give the correct time since they were set instead of the duration. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11011 e03df62e-2008-0410-955e-edbf42e46eb7
* Update copyrights for 2009.Gravatar w00t2009-01-021-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7
* Add reasons to other modules that implement XLines also.Gravatar w00t2008-10-281-3/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10741 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix a number of commands to have max_params field. This means in practice, ↵Gravatar w00t2008-10-251-1/+2
| | | | | | that colons on gline reasons (etc) are no longer mandatory, provided the command tells the core how many parameters at max it has. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7
* Windows compile fixes for RLineGravatar brain2008-09-221-5/+11
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10591 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes. Dont try and catch exceptions within the RLine ctor, we dont always ↵Gravatar brain2008-09-211-27/+7
| | | | | | | | | want crud outputting to snomask x in every situation. Its up to the caller that creates the object as to what they want to do with the exception and if they want it shown. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10578 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix various rline bugs, implement /stats R, and fix the issue where you get ↵Gravatar brain2008-09-211-13/+18
| | | | | | | | | | no error. "Something will already have said why it fucked up" -- what about when the rline fails due to missing provider? Also fix the fact that we dont have a catch around the Generate() in addline, which would just make insp abort. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10577 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug discovered by Ankit, m_rline loaded without regex provider causes ↵Gravatar brain2008-09-211-7/+13
| | | | | | | | | segfault because of missing check for NULL when querying RegexProvider interface git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10576 e03df62e-2008-0410-955e-edbf42e46eb7
* Make regex providers load correctly. Move m_rline to use the regex ↵Gravatar aquanight2008-09-211-0/+315
| | | | | | providers, and also move m_rline out of extras/. Document provider modules, <rline:engine> and particularly the uselessness of <rline engine="glob">. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10573 e03df62e-2008-0410-955e-edbf42e46eb7
* Win32 compilation fixesGravatar brain2008-01-211-222/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8743 e03df62e-2008-0410-955e-edbf42e46eb7
* Header update: 2007 -> 2008Gravatar w00t2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8694 e03df62e-2008-0410-955e-edbf42e46eb7
* Register RLine factory on load, unregister it on unload.Gravatar w00t2008-01-101-0/+5
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8686 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix bug in rline, xline derived class declared itself as xline type 'K' not 'R'Gravatar brain2008-01-101-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8685 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix some random crash due to my not knowing how to use STL *shrug*Gravatar w00t2008-01-091-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8684 e03df62e-2008-0410-955e-edbf42e46eb7
* Correct a few things, and yay for code that randomly decides to work.Gravatar w00t2008-01-091-14/+30
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8683 e03df62e-2008-0410-955e-edbf42e46eb7
* Utterly untested RLINEGravatar w00t2008-01-091-48/+58
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8682 e03df62e-2008-0410-955e-edbf42e46eb7
* Flesh this out a little more. Create our derived XLine and factory. Doesn't ↵Gravatar w00t2008-01-091-114/+122
| | | | | | implement a command yet. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8681 e03df62e-2008-0410-955e-edbf42e46eb7
* Add RLINE skeleton module to move it between PCs (I'm lazy :p)Gravatar w00t2008-01-091-0/+183
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8680 e03df62e-2008-0410-955e-edbf42e46eb7