aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_shun.cpp
Commit message (Expand)AuthorAgeFilesLines
* m_shun Display shun target correctly in the error message when adding a new s...Gravatar attilamolnar2012-07-071-1/+1
* m_shun Fix out of bounds vector access leading to crashes when hiding part re...Gravatar attilamolnar2012-06-171-2/+2
* m_shun Fix a couple of things, namely•••- remove OnUserConnect hook as it was completly a no-op - remove call to XLineManager::ApplyLines() as it iterates the local userlist and made no sense - return CMD_SUCCESS when /SHUN succeeded, CMD_FAILURE otherwise - remove unused exception handler - don't route SHUN commands at all, spanningtree adds and removes the lines automatically Gravatar attilamolnar2012-06-171-57/+25
* Module description updatesGravatar Robby-2012-05-301-2/+2
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+17
* Make m_shun work on aliasesGravatar Jens Voss2012-01-211-0/+6
* Fix stats letter for shunsGravatar Jackmcbarn2011-08-271-2/+1
* Resolve /STATS S conflict between SVSHOLD and SHUNGravatar Daniel De Graaf2011-06-231-1/+1
* PreCommand/PostCommand are local-only hooks•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-181-1/+1
* ...because every now and again, i have to do a massive commit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2010-01-111-1/+1
* Change module API to use LocalUser* where correct•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-211-1/+1
* Remove dummy API_VERSION from Version constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-171-1/+1
* Remove InspIRCd* parameters and fields•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-7/+7
* Describe module purpose in /MODULES output•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-221-1/+1
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-141-3/+3
* Clean up Command constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11707 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-3/+3
* Remove CMD_LOCALONLY, enforce use of GetRouting for routed commands•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11671 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-031-0/+5
* ModResult conversion: Change return type of all module functions•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-9/+9
* Add Module* creator to Command and ModeHandler•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+2
* Remove calls to strdup() in core, it is not better than std::string•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11623 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-3/+5
* Change allocation of commands/modes•••API change: Commands passed to AddCommand are no longer deleted automatically This removes lots of needless heap allocation and fixes a few memory leaks by allocating commands and modes as part of the Module rather than creating them separately in the module constructor. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11592 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-9/+6
* OnRehash changes: split to multiple hooks to clarify use and prevent explosio...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11388 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-05-241-2/+2
* Allow E:Lines to exempt targets from SHUN and RLINE. Fixes bug #852 reported ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11355 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-05-031-0/+4
* m_shun: Allow nick targets for removal as well, in the same format as addition•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11290 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar special2009-04-061-4/+4
* Fix shun not applying if you add an IP mask for a user that has a host which ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11289 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-061-1/+1
* Add support for nick targets like other xlines. Patch by Ankit.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11288 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-061-6/+12
* Weed out a few leftover server instances from before modules had ServerInstan...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11287 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar peavey2009-04-061-4/+1
* Don't use metadata in m_shun, this fixes problems with expiry reported by Tar...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11266 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-03-271-5/+2
* Instead of emptying parameters on shunned PART, only empty the reason. Fixes ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11265 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-03-271-1/+1
* Fix m_shun silently blocking allowed commands on shunned users, fixes bug #77...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11225 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-03-151-1/+2
* Update all wiki links to point to the new wiki. This was done automatically w...•••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 Gravatar psychon2009-03-151-1/+1
* Fix crash on /SHUN with exactly 2 parameters•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11131 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-02-191-5/+18
* Apply patch for bug #704 from Darom, shun:affectopers option -- Thanks!•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11057 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2009-02-081-0/+9
* Note to self, cast time_t to long int for printf... thanks Ankit for pointing...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11012 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-01-281-1/+1
* Make xline expiry messages a bit clearer that the xline may have expired a wh...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11011 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar dz2009-01-281-1/+1
* Fix bug #680, reported by Namegduf: 1.2 SHUN does not respect the notifyuser ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10968 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-181-1/+2
* Fix a small typo in shun notice, reported by Ankit. Closes bug #666. (!)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10967 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-181-1/+1
* Update copyrights for 2009.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10932 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-01-021-1/+1
* Fix unnecessary use of map, set is better suited.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10921 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-271-3/+3
* Stupid linebreak.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10893 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-151-2/+1
* Add missing copyright header.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10892 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-151-1/+15
* Fix naming convention to be consistant. (cmd_ -> Command)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-151-4/+4
* Add reasons to other modules that implement XLines also.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10741 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-281-3/+2
* Fix a number of commands to have max_params field. This means in practice, th...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10718 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-251-1/+2
* Add <shun:notifyuser>, default on, which notifies the user that their command...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10317 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-0/+7
* Add and document <shun:enabledcommands>, allowing customisation of specifical...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10316 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-271-7/+33
* Change module versions to use a string instead of fixed digits, and use props...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-251-1/+1
* Match conversion stuff.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-08-221-1/+1
* Delete all XLines when destroying module•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9976 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-07-121-0/+1
* IPC now works for receiving one-byte commands in the same manner as the mails...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9911 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar brain2008-06-151-7/+0