aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
Commit message (Expand)AuthorAgeFilesLines
* Warn when a user configures a permanent channel without +P.Gravatar Peter Powell2017-04-241-0/+6
* Fix m_permchannels and m_xline_db on Windows•••The call to remove() can fail if the database doesn't already exist. Just ignore the error, which effectively makes the rename() call below work as it does on nix Gravatar Adam2014-05-081-6/+1
* Work around STB_GNU_UNIQUE symbols not allowing module unmapGravatar attilamolnar2013-09-151-3/+3
* m_permchannels Fix empty topic setbyGravatar attilamolnar2013-08-281-0/+2
* m_permchannels Add the ability to save listmodesGravatar attilamolnar2013-08-271-4/+70
* m_permchannels Save channel TS, topic set time and set by information•••When loading, ignore and log channels with a name longer than Limits.MaxChan Gravatar attilamolnar2013-08-271-15/+20
* m_permchannels Construct the final line that will be saved in a std::string i...Gravatar attilamolnar2013-08-271-7/+10
* m_permchannels Workaround for alphabetical module initialization order•••Read database after all modules have been inited Add exception logging Fixes #485 reported by @gholms Gravatar attilamolnar2013-04-211-8/+32
* m_permchannels Load channels from the config only at module load time and onl...Gravatar attilamolnar2013-03-201-5/+15
* Dynamically determine the size of the eventlist[] passed to Attach()•••m_sqlauth was attached to I_OnUserDisconnect but didn't provide a handler for it, remove Gravatar attilamolnar2012-12-021-1/+1
* Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases...Gravatar Adam2012-10-271-0/+8
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* Fix misspelling•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12572 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-281-1/+1
* Add a short message at the top of permchannel DB, and ensure config format is...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12544 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-231-0/+1
* Delete 0-user permanent channels that are being set -P•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12475 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-161-22/+3
* Fix compilation•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12447 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-121-1/+1
* Write out the permchannels database on a timer, not on every mode change•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12446 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-121-13/+18
* Mark +P mode as oper-only now that it no longer requires an explicit permissi...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12343 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-02-011-1/+1
* Remove duplicated permisison check for setting mode +P (it is already restric...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12338 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-311-6/+0
* Clean up some slow iterations•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12300 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-191-6/+7
* Remove VF_COMMON from mode-provider modules (no longer needed due to better C...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12263 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2010-01-151-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
* Fixes from vtable cross-check•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11977 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-251-2/+2
* Fix interaction of m_permchannels post-cull and channel empty-by-quit that ca...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11933 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-201-0/+1
* Valgrind now runs completely clean.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11916 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-191-2/+4
* 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
* Add names for all modes (part 1 of named channel mode list)•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11809 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-081-1/+1
* Run DelMode and DelModeWatcher in RemoveModule•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11799 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-051-1/+0
* Change IS_FAKE and CheckTimeStamp to IS_SERVER and ResolveModeConflict to cla...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11765 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-261-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-4/+4
* 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
* Fix quoting in permchannels DB, discovered by jackmcbarn (could result in com...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11726 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-151-5/+32
* 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-2/+2
* Remove redundant ServerInstance* fields•••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 Gravatar danieldg2009-09-131-5/+5
* Simplify ModeHandler constructor•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11701 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-131-1/+1
* Utilise OnRawMode and OnPostTopicChange hooks to write a dynamic conf of perm...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11679 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-09-051-2/+87
* 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-3/+3
* Remove "servermode" parameter, replace with IS_FAKE() which is more reliable•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11633 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-2/+2
* 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-2/+2
* Remove empty permanent channels when m_permchannels is unloaded•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11624 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+19
* 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/+4
* 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
* If you're going to add magical number hacks, please comment them appropriatel...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11297 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2009-04-091-0/+7
* Set topic timestamp on newly created channels to a dummy value to work around...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11292 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-04-081-0/+3
* 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
* 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
* Return ERR_NOPRIVILEGES for +P without channels/set-permanent priv.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10908 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-241-0/+3
* Readd check for +P setting to channels/set-permanent priv, thanks Johannes13 ...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10901 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-12-201-0/+3
* Revert earlier time() -> SI->Time() diff for now, this causes problems with d...•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10695 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-231-3/+0
* Add/document channels/set-permanent priv, and tie setting of +P to it.•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10692 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar w00t2008-10-231-0/+3