aboutsummaryrefslogtreecommitdiff
path: root/src/ban.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add unittests on ActiveObject and BanManager class (#6866)Loïc Blot2018-01-011-1/+2
| | | | | | * Add unittests on ActiveObject and BanManager class This also permit to fix a bug in ban manager setting bans modified when no modification occurs
* Banmanager: Move 'creating' message from warningstream to infostream (#6277)Paramat2017-08-191-2/+2
|
* bab.cpp: code modernizationLoic Blot2017-08-151-11/+9
| | | | | | * Use for range based loops * Simplify some tests * Code style fixes
* C++11 patchset 9: move hardcoded init parameters to class definitions (part ↵Loïc Blot2017-06-161-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | 1) (#5984) * C++11 patchset 9: move hardcoded init parameters to class definitions C++11 introduced the possibility to define the default values directly in class definitions, do it on current code Also remove some unused attributes * CollisionInfo::bouncy * collisionMoveResult::collides_xy * collisionMoveResult::standing_on_unloaded * Clouds::speed * More constructor cleanups + some variables removal * remove only write guiFormSpecMenu::m_old_tooltip * move header included inside defintions in genericobject.h * remove some unused since years exception classes * remove unused & empty debug_stacks_init * remove unused & empty content_nodemeta_serialize_legacy * remove forgotten useless bool (bouncy) in collision.cpp code
* Clean up StrfndShadowNinja2016-03-191-1/+1
| | | | | | | | | | | Changes: * Fix indentation. * Pass strings by const reference. * Merge Strfnd and WStrfnd into one class instead of copying them. * Remove trailing spaces. * Fix variable names. * Move to util. * Other miscellaneous style fixes.
* Use warningstream for log messages with WARNINGShadowNinja2015-10-141-1/+1
| | | | Remove DTIME macro and its uses, too
* Clean up threadingShadowNinja2015-08-231-9/+9
| | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test.
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-191-29/+20
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* ban.cpp refactoringSelat2014-08-221-19/+10
|
* Cleanup jthread and fix win32 buildsapier2013-12-011-1/+0
|
* Always use builtin JThread librarykwolekr2013-09-151-1/+1
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-0/+1
|
* Fix typosPilzAdam2013-08-141-1/+1
|
* Dont write directly to files but rather write and copy a tmp filePilzAdam2013-08-131-8/+9
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* Fix log output in ban.cppPerttu Ahola2012-03-111-1/+1
|
* Ban and Auth managers use infostream rather than dstreamPerttu Ahola2012-03-101-6/+6
|
* Fixed/extended/modified ban stuff to be good for inclusionPerttu Ahola2011-08-121-12/+57
|
* added ipban supportConstantin Wenger2011-08-121-0/+118
commands: /#ipban <nick> /#ipunban <ip>