Robby
8656b65e39
Update copyright to 2017.
...
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.
2017-01-16 03:13:25 +01:00
Adam
8dc687b657
#1682 : store aftype with masks and include cidrs in GetNUHMask
2016-07-03 13:29:27 -04:00
Robby
f118960a25
Update copyright to 2016. This was done with:
...
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.
2016-01-28 20:24:49 +01:00
Adam
ba805e30b8
Include gecos in GetNUHMask
2015-12-29 13:53:44 -05:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Adam
2264a206d2
Check virtual mode bases better
2015-01-26 15:10:18 -05:00
Adam
866f3f32ab
Speed up akill xline checks
...
Cache xline nick, user, host, etc instead of rebuilding it everytime its
requested. Store users ip in sockaddr form and not string form to
prevent having to rebuild sockaddrs when checking xlines.
Also do not try to convert empty config values in Config::Get as this
can be rather common if a non string configuration value is not set, and
the cost of the ConvertException is great.
2014-05-20 21:16:00 -04:00
Adam
63b02b8c97
Sanitize nuh masks more to prevent the other side from rewriting them, which screws with our internal tracking of them
2014-05-13 22:57:53 -04:00
Adam
4eb0a3bdb7
Fix ModeManager::RebuildStatusModes, not all modes are in GetChannelModes() at the time this is called
2014-04-26 15:24:19 -04:00
Adam
6a03eb69eb
Add "virtual mode" support
...
This allows fully tracking extbans and other modes set by a different
underlying mode, such as InspIRCd's namedmodes
Add two configuration options to cs_ban to configure which mode is set
and whether or not to kick banned users.
Add default "mute" fantasy command to botserv.example.conf
2014-04-25 16:51:06 -04:00
Adam
595dad4ec1
Update copyright to 2014. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;
2014-01-01 20:48:38 -05:00
Adam
1ab7d53649
Set pending mode changes immediately when an object is removed from the mode stacker. And fix mlock creator from cs set persist on.
2013-12-17 10:58:02 -05:00
Adam
1b42e26642
Cap mode stacker max line length
2013-09-03 19:40:03 -04:00
Adam
1e625b6837
Use MessageSource as the source for many IRCDProto funcs
...
Keep track of what user modes are oper only/server only/etc
2013-08-01 13:39:35 +00:00
Adam
aae522d72b
Fix ModeManager::GetStatusChar
2013-07-15 23:23:54 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -04:00
Adam
22658d63bd
Get rid of the remaining references in the core to specific services. Move more stuff out of the core to the proper modules.
2013-05-26 17:13:11 -04:00
Adam
9384a4f088
Fix ChannelMode::CanSet
2013-05-10 16:17:24 -04:00
Adam
9b07e163c0
Make sockaddrs/cidr not throw on invalid ips to give us an easier/cheaper way to test for a valid IP
2013-05-08 09:50:43 -04:00
Adam
1d0bb9b26b
Rework the config file reader to be much more flexible and move many configuration directives to the actual modules they are used in.
2013-05-05 01:55:04 -04:00
Adam
1a37e1c048
Made auto* chanserv privileges not hard coded.
...
Made cs_statusupdate not remove status on users if they still match other entries.
Move privilege descriptions out of the config
2013-04-08 00:19:07 -05:00
Adam
fb7fef7a84
Optimizations of much of the more commonly used code
2013-04-07 23:46:44 -05:00
Adam
1a0e6b0be3
Allow autokicking real names, extbans, and channels
2013-03-15 12:27:08 -05:00
Adam
1ff7a7c1f1
Refactor mask/entry code, allow full matching (against users real host/ip) if their displayed host is their real real host. Also match against cloaked host even if full matching is not being done
2013-03-13 14:40:49 -05:00
Adam
7be23b7e37
Fix setting modes on botserv bots in channels that have other bots in them on startup
2013-02-15 23:18:34 -05:00
Adam
5cf1edeb6e
Fix CommandCSMode::CanSet letting everyone set voice
2013-02-14 01:20:18 -05:00
Adam
ddaa001daf
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
2013-01-21 22:31:16 -05:00
Adam
5007b72b28
Update copyright to 2013. This was done with:
...
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-2012 Anope Team/-2013 Anope Team/i' {} \;
2013-01-09 04:20:55 -05:00
Adam
326f1a9c8b
Cleanup after mode locks, badwords, akick, access, if destructed
2012-12-29 20:29:41 -05:00
Adam
761849083d
Dumb iterators
2012-12-28 13:00:36 -05:00
Adam
d33a0f75a5
Pretty large coding style cleanup, in source doc
...
cleanup, and allow protocol mods to depend on each
other
2012-11-22 00:50:33 -05:00
Adam
89428a9d10
Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish
2012-10-01 01:56:57 -04:00
Adam
ccd29085a9
reinterpret_cast off of a virtual base does Bad Things
2012-05-17 03:57:19 -04:00
Adam
1081ecdae8
Fixed non-debug build
2012-04-25 14:29:50 -04:00
Adam
573e49a7ea
Reworked live SQL support yet again
2012-04-23 05:08:26 -04:00
Adam
a5b9e235ae
Added chanserv:require config option to set which modes must be on all registered channels. Prevents the core from always enforcing +r on every channel, even if chanserv is not loaded.
2012-02-26 23:23:15 -05:00
Adam
db59f1a70f
Fixed detecting when to set +r and fixed crash on shutdown introduced by the last commit
2012-02-14 19:03:09 -05:00
Adam
a9772cde21
Clean up and reorganize our header files
2012-02-14 15:13:27 -05:00
Adam
4204ece7a8
Updated Copyright to 2012
2012-01-02 21:28:24 -05:00
Adam
1f2399de36
Added a new database format and sqlite support. Also moved db-convert to a module.
2011-09-25 04:19:15 -04:00
Adam
43201ead95
Fixed /os reload doing weird things to service channels, and allow setting modes by clients on burst
2011-09-19 18:35:40 -04:00
Adam
63cb8ca24c
Moved signal/thread/mode checking to use signal pipes
2011-09-10 02:06:31 -04:00
Adam
4fcb371bc8
Track what "level" channel status modes are, which allows us to have chanserv/mode determine if a status mode can be set by users better
2011-09-10 01:52:59 -04:00
Adam
f858164dee
Rewrote how commands are handled within Anope.
...
This allows naming commands and having spaces within command names.
2011-07-14 02:31:12 -04:00
Adam
c8c23158a4
Moved the core pseudo clients out into their own modules
2011-05-16 04:06:17 -04:00
Adam
8eb23e7d48
Added support for extbans
2011-03-07 19:54:51 -05:00
Adam
093b3d258e
Change the mode name code to use Flags names in preparation for extban support
2011-03-06 19:36:52 -05:00
Adam
ee38756982
Fixed a lot of small problems
2011-02-25 21:40:43 -05:00
Adam
e62664138b
Added patricia_tree::iterator
2011-01-28 23:09:25 -05:00
Adam
ab2e34d817
Added options:nomlock
2011-01-19 00:31:18 -05:00