aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_xline_db.cpp
Commit message (Expand)AuthorAgeFilesLines
* Switch permchannels and xline_db from OnBackgroundTimer to a Timer.Gravatar Peter Powell2019-06-251-2/+13
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-1/+1
* Improve the handling of config X-lines and filters. (#1583)Gravatar Matt Schatz2019-02-221-2/+7
* Split irc::tokenparser::GetToken into GetMiddle and GetTrailing.•••This simplifies the logic of irc::tokenparser considerably and removes all of the magic index guessing that was used previously. Gravatar Peter Powell2018-08-101-1/+1
* Switch m_xline_db to use the xline snomask character.Gravatar Peter Powell2018-08-101-6/+6
* Merge tag 'v2.0.26' into master.Gravatar Peter Powell2018-04-221-1/+1
|\
| * Fix m_xline_db storing the wrong setter in the XLine database.Gravatar Peter Powell2017-12-151-1/+1
* | m_xline_db Don't flush database when an xline expiresGravatar Attila Molnar2015-12-181-5/+0
* | Fix xline reasons being truncated in m_xline_db.•••This error was introduced in bbeb5ea3. Gravatar Peter Powell2015-01-291-1/+1
* | Differ database error messages for m_permchannels and m_xline_db•••m_permchannels and m_xline_db both have the same error messages as well as not informing the server operator what file is at fault for the error. This makes it hard to find which module is causing the error and what file the module is referring to. The new messages explain which database is trying to be written and the path used to write the file. Gravatar Justin Crawford2014-07-291-8/+8
* | Merge insp20Gravatar Attila Molnar2014-07-251-6/+1
|\|
| * 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
* | Remove whitespace and minor style changesGravatar Attila Molnar2014-01-231-1/+1
* | Move stuff around a bit:•••- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp. Gravatar Peter Powell2013-12-151-1/+1
* | Replace OnRehash() with ReadConfig() that is called on boot, on module load a...•••This eliminates the need for calling OnRehash() in init() Gravatar attilamolnar2013-08-301-1/+1
* | Add <path> keys for all of the compile-time paths.•••Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations. Gravatar Peter Powell2013-08-121-1/+1
* | Automatically attach modules to eventsGravatar attilamolnar2013-08-041-2/+0
* | Modify the log message to contain the log type.Gravatar Peter Powell2013-08-041-10/+10
* | Change modules to use the MODNAME constant when logging.•••The majority of modules were logging with their module name as the log type. There was a few places which were logging to a non-name type but, with the exception of CONFIG, those messages are so uncommon that it doesn't make sense to use a seperate type for them. Gravatar Peter Powell2013-08-041-10/+10
* | Remove a few not-so-useful debug messagesGravatar attilamolnar2013-08-041-5/+1
* | Remove $Core and $Mod* comments apart from $ModDep.Gravatar Peter Powell2013-07-041-4/+0
* | Use iostream instead of C-style file operations.Gravatar Peter Powell2013-06-061-52/+26
* | Merge pull request #545 from SaberUK/master+logging-cleanup•••Clean up the logging system (part 1 of 2).Gravatar Attila Molnar2013-05-211-11/+11
|\ \
| * | Fix spacing in calls to LogManager::Log.Gravatar Peter Powell2013-05-191-11/+11
* | | Convert XLine::Displayable to return a std::string.Gravatar Peter Powell2013-05-211-2/+6
|/ /
* | Tidy up keywords on module methods.•••- Remove virtual keyword from a ton of methods which don't need it. - Add override keyword to a ton of methods which do need it. Gravatar Peter Powell2013-05-151-6/+6
* | Add LOG_ prefix to the log level enum values.Gravatar Peter Powell2013-04-121-11/+11
* | Whitespace and empty destructor removal, minor coding style changesGravatar attilamolnar2013-04-011-7/+0
|/
* m_xline_db Fix pointless excessive stack usage in ReadDatabase()Gravatar attilamolnar2013-03-251-5/+2
* m_xline_db Major enhancements•••- Save database on a timer, not on every single change - Use the internal database instead of keeping track of xlines ourselves Gravatar attilamolnar2013-03-251-33/+26
* 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
* Attach to events and register services in init()Gravatar attilamolnar2012-12-021-1/+2
* Issue #346 - fix m_permchannels.cpp and m_xline_db.cpp saving their databases...Gravatar Adam2012-10-271-0/+8
* Replace hardcoded paths with configurable ones•••This patchset aims to ease the packaging of InspIRCd for a system-wide installation scenario. Changes in detail: configure: Add the options --log-path and --data-path m_ssl_gnutls, openssl: Change the hardcoded "conf/" to the existent CONFIG_PATH macro m_xline_db: Make the location of xline.db configurable. It will use --data-path as default value, but this can be changed using the configuration files. Gravatar ChrisTX2012-10-041-3/+16
* Revert m_xline_db Get the xlines from the core, don't maintain a seperate lis...Gravatar attilamolnar2012-07-131-12/+16
* m_xline_db Fix memory leak when adding a loaded xline failsGravatar attilamolnar2012-07-011-0/+2
* m_xline_db Get the xlines from the core, don't maintain a seperate listGravatar attilamolnar2012-07-011-16/+12
* Debian typo fixes.Gravatar Peter Powell2012-05-251-1/+1
* Replace copyright headers with headers granting specific authors copyrightGravatar Robby-2012-04-191-8/+15
* ...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
* 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
* Change to new execution directory structure•••Don't change CWD into bin/ Remove path-resolution hacks from configuration Store pidfile and xline DBs in data, logs in logs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11866 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-131-3/+3
* Get rid of a bunch of memory-wasting C-style strings•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11796 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-10-031-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-2/+1
* 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-6/+6
* 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/+3
* More deallocation-at-exit cleanup•••git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11621 e03df62e-2008-0410-955e-edbf42e46eb7 Gravatar danieldg2009-09-021-0/+1
* 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