aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright notices to 2011Gravatar Jackmcbarn2011-05-041-1/+1
|
* Kludge to fix permanent channels loaded from config not being set +PGravatar Jackmcbarn2010-10-051-19/+26
|
* Clean up incorrect comment and topic timestamp hackGravatar Daniel De Graaf2010-09-061-14/+4
|
* Remove redundant database feature from m_permchannelsGravatar Jackmcbarn2010-09-061-106/+1
|
* Avoid future bugs with AttachGravatar Jackmcbarn2010-08-281-1/+1
|
* Clarify the configuration tag function namesGravatar Daniel De Graaf2010-08-221-2/+2
|
* Change config reading hook for better error reportingGravatar Daniel De Graaf2010-08-211-4/+3
| | | | | This eliminates the OnRehash hook, and replaces it with ReadConfig which is called on boot, module load, and rehash.
* Replace dynamic_cast with faster explicit type markingGravatar Daniel De Graaf2010-08-141-1/+1
|
* Set the dirty bit when +P is set/unset on a channelGravatar Daniel De Graaf2010-08-061-4/+4
|
* Add timestamp to channels in permchanneldbGravatar Daniel De Graaf2010-08-061-3/+4
|
* Change irc::modestacker output in FORMAT_PERSIST to always use long modesGravatar Daniel De Graaf2010-08-061-3/+27
|
* Fix misspellingGravatar danieldg2010-08-031-0/+1
|
* Omit opflags from permchannel databaseGravatar Daniel De Graaf2010-08-031-1/+1
|
* Extend ChanModes to use a modestacker for outputGravatar Daniel De Graaf2010-08-031-31/+20
|
* Add the rest of the <modeletters> supportGravatar Daniel De Graaf2010-08-031-49/+22
|
* Module compilation fixupsGravatar Daniel De Graaf2010-08-031-5/+3
|
* Introduce ModeIDGravatar Daniel De Graaf2010-08-031-5/+6
|
* Delete 0-user permanent channels that are being set -PGravatar danieldg2010-02-161-22/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12475 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix compilationGravatar danieldg2010-02-121-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12447 e03df62e-2008-0410-955e-edbf42e46eb7
* Write out the permchannels database on a timer, not on every mode changeGravatar danieldg2010-02-121-13/+18
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12446 e03df62e-2008-0410-955e-edbf42e46eb7
* Mark +P mode as oper-only now that it no longer requires an explicit ↵Gravatar danieldg2010-02-011-1/+1
| | | | | | permission string git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12343 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove duplicated permisison check for setting mode +P (it is already ↵Gravatar danieldg2010-01-311-6/+0
| | | | | | restricted in allowed chanmodes) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12338 e03df62e-2008-0410-955e-edbf42e46eb7
* Clean up some slow iterationsGravatar danieldg2010-01-191-6/+7
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12300 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove VF_COMMON from mode-provider modules (no longer needed due to better ↵Gravatar danieldg2010-01-151-1/+1
| | | | | | CAPAB checking) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7
* ...because every now and again, i have to do a massive commit.Gravatar brain2010-01-111-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12248 e03df62e-2008-0410-955e-edbf42e46eb7
* Fixes from vtable cross-checkGravatar danieldg2009-10-251-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11977 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix interaction of m_permchannels post-cull and channel empty-by-quit that ↵Gravatar danieldg2009-10-201-0/+1
| | | | | | causes leaked channels git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11933 e03df62e-2008-0410-955e-edbf42e46eb7
* Valgrind now runs completely clean.Gravatar danieldg2009-10-191-2/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11916 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove dummy API_VERSION from Version constructorGravatar danieldg2009-10-171-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11887 e03df62e-2008-0410-955e-edbf42e46eb7
* Add names for all modes (part 1 of named channel mode list)Gravatar danieldg2009-10-081-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7
* Run DelMode and DelModeWatcher in RemoveModuleGravatar danieldg2009-10-051-1/+0
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7
* Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to ↵Gravatar danieldg2009-09-261-1/+1
| | | | | | clarify their use git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove InspIRCd* parameters and fieldsGravatar danieldg2009-09-261-4/+4
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11763 e03df62e-2008-0410-955e-edbf42e46eb7
* Describe module purpose in /MODULES outputGravatar danieldg2009-09-221-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11757 e03df62e-2008-0410-955e-edbf42e46eb7
* Fix quoting in permchannels DB, discovered by jackmcbarn (could result in ↵Gravatar danieldg2009-09-151-5/+32
| | | | | | command execution) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11726 e03df62e-2008-0410-955e-edbf42e46eb7
* Introduce "X" snomask for remote *:line messages [patch by jackmcbarn]Gravatar danieldg2009-09-141-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11721 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove redundant ServerInstance* fieldsGravatar danieldg2009-09-131-5/+5
| | | | | | | | It has been impossible to have more than one InspIRCd* object in the same address space for some time now, and this feature was never used. This formalizes class InspIRCd as a singleton object. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11703 e03df62e-2008-0410-955e-edbf42e46eb7
* Simplify ModeHandler constructorGravatar danieldg2009-09-131-1/+1
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7
* Utilise OnRawMode and OnPostTopicChange hooks to write a dynamic conf of ↵Gravatar w00t2009-09-051-2/+87
| | | | | | permchannels tags to a configurable location, so it's just a matter of <include file="../bin/permchannels.conf"> or something. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11679 e03df62e-2008-0410-955e-edbf42e46eb7
* ModResult conversion: Change return type of all module functionsGravatar danieldg2009-09-021-3/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11634 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove "servermode" parameter, replace with IS_FAKE() which is more reliableGravatar danieldg2009-09-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7
* Add Module* creator to Command and ModeHandlerGravatar danieldg2009-09-021-2/+2
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11631 e03df62e-2008-0410-955e-edbf42e46eb7
* Remove empty permanent channels when m_permchannels is unloadedGravatar danieldg2009-09-021-0/+19
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11624 e03df62e-2008-0410-955e-edbf42e46eb7
* Change allocation of commands/modesGravatar danieldg2009-09-021-9/+4
| | | | | | | | | | 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
* 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
* If you're going to add magical number hacks, please comment them ↵Gravatar w00t2009-04-091-0/+7
| | | | | | appropriately to reduce future maintenence burden. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11297 e03df62e-2008-0410-955e-edbf42e46eb7
* Set topic timestamp on newly created channels to a dummy value to work ↵Gravatar danieldg2009-04-081-0/+3
| | | | | | around bug #739 without protocol changes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11292 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
* 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
* Return ERR_NOPRIVILEGES for +P without channels/set-permanent priv.Gravatar w00t2008-12-241-0/+3
| | | | git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10908 e03df62e-2008-0410-955e-edbf42e46eb7