summaryrefslogtreecommitdiff
path: root/src/misc.cpp
AgeCommit message (Collapse)Author
2020-09-10Fix -Wclass-memaccess warning:miwob
/anope/src/misc.cpp: In function ‘Anope::string Anope::Resolve(const Anope::string&, int)’: /anope/src/misc.cpp:742:60: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘union sockaddrs’ from an array of ‘struct sockaddr’ [-Wclass-memaccess] memcpy(&addr, addrresult->ai_addr, addrresult->ai_addrlen); ^ In file included from /anope/include/users.h:21, from /anope/include/bots.h:12, from /anope/include/regchannel.h:18, from /anope/include/config.h:16, from /anope/src/misc.cpp:16: /anope/include/sockets.h:27:18: note: ‘union sockaddrs’ declared here union CoreExport sockaddrs ^~~~~~~~~
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-07-03#1680: fix Anope::Duration with one year durationsAdam
2016-04-21Optionally strip variable build date from compiled programDominic Hargreaves
To aid build reproducibility, don't include the build date/time if -DREPRODUCIBLE_BUILD is defined. Based on the patch provided by Alexis Bienvenüe in the Debian report. Bug-Debian: https://bugs.debian.org/820152 Patch-Name: reproducible_datetime.diff
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2015-02-03Make module version system workAdam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2013-10-05Always show expire time for nicks in /ns info to opers, even if the user is ↵Adam
online Make Anope::strftime show "now" if the time is now Fix typo in nickalias.cpp for the type of the last_seen field, spotted by grawity
2013-09-27Replace this silly random code generation code with something more sane lookingAdam
2013-09-27Translate strftime correctlyAdam
2013-09-27Align info formatters with translated keys?Adam
2013-09-27Translate listformatter properlyAdam
2013-09-27Fix various commands to properly report a given expiry time is invalidAdam
2013-07-01Change extensible keys to require explicitly having a type defined for it. ↵Adam
Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-05-27Initially attach all modules to all events, and detach them as the events ↵Adam
are run if they are not implemented per module
2013-05-26Get rid of the remaining references in the core to specific services. Move ↵Adam
more stuff out of the core to the proper modules.
2013-05-08Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper ↵Adam
way to test for a valid IP
2013-05-05That doesn't work either, just don't use references.Adam
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05Rework the config file reader to be much more flexible and move many ↵Adam
configuration directives to the actual modules they are used in.
2013-04-07Optimizations of much of the more commonly used codeAdam
2013-03-02Fix Anope::Duration showing years failingAdam
2013-03-01Fix Windows buildAdam
2013-01-30Made Anope::Duration also show yearsAdam
2013-01-25Made Anope::DoTime default to seconds to fix os_akill etc defaulting ↵Adam
expiries to days
2013-01-09Update copyright to 2013. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2012-12-23Allow os_dns to manage multiple zonesAdam
2012-12-19Add version flags for debug, git, and WindowsAdam
2012-12-15Move DNS handling to a moduleAdam
2012-11-30Allow modules to use the encryption modules to encrypt arbitrary things.Adam
Made enc_old depend on enc_md5. Allow not loading any encryption modules if you want to only use an external mechanism. Removed ns_sendpass since it's just a bad idea.
2012-11-22Pretty large coding style cleanup, in source docAdam
cleanup, and allow protocol mods to depend on each other
2012-10-05Use memcpy for Anope::Unhex not strcpyAdam
2012-09-02Fix WindowsAdam
2012-09-01Added a web panel module + a default templateAdam
2012-06-18Allow userless command sourcesAdam
2012-05-10Fixed crash on access del + valgrind errorsAdam
2012-04-23Reworked live SQL support yet againAdam
2012-02-22Added regex support for many commands, such as akill, sqline, snline,Adam
all of the */list commands, etc. Also extended the ability of akill to match a full nick!user@host and real name of users.
2012-02-15Remove revision numbers as they're only ever set by Config reading git since ↵Adam
we've switched off of SVN. Instead just use the hash for the current head when building. Also recheck the hash on every make not just Config.
2012-02-14Clean up and reorganize our header filesAdam
2012-02-13Removed our RNG and just use the systems, it's not very widely used. Also ↵Adam
made DNS query ids not random as they don't need to be.
2012-01-02Updated Copyright to 2012Adam
2011-12-19Fixed formatting of many lists and INFO outputsAdam
2011-11-08WindowsAdam
2011-11-04Store flags for memos, fixed the expiring very soon message, fixed /os ↵Adam
session view when a session exception is added at a lower limit than th default
2011-10-24Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as ↵Naram Qashat
use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available.
2011-09-25Added a new database format and sqlite support. Also moved db-convert to a ↵Adam
module.