Adam
32007f81cf
Add networkinfo:nick_chars option to allow configuring additional characters allowed in nicknames
2015-01-10 15:19:40 -05:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -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
43219d3906
Do not apply module changes on rehash until after the new config has been applied. Fix renaming opertypes on reload.
2014-04-06 23:01:10 -04:00
Adam
abcf0cde5a
Remove unreachable code in config.cpp, this error is caught earlier
2014-02-26 19:32:25 -05:00
Adam
8f3bd314ed
Fix not detecting eols in the config reader when the end of the line is the end of a multiline comment
2014-02-26 19:26:50 -05:00
Adam
e2d456d4ce
Do not setuid/gid down until after modules are loaded
2014-02-26 19:24:32 -05:00
Adam
fab9f0fecc
Change config readers bool logic to accept unrecognized values as yes
2014-01-19 19:03:19 -05: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
c0cd76a0a5
Don't leak opers and opertypes on /os reload, fix not updating opertypes on non conf opers on rehash
2013-12-19 21:34:21 -05:00
Adam
c710625cd3
Use Config::GetClient for looking up services for command{} blocks which lessens the insanity of renaming services
2013-11-01 02:07:35 -04:00
DukePyrolator
2cfc97053f
moved some config options from example.conf to nickserv.example.conf
2013-10-26 18:33:07 +02:00
Robby-
97d7c21193
Fix logging for log type 'other'.
...
os_ignore: Log expired ignores to the normal log level.
cs_drop: Allow Services Operators to actually drop channels in Read-Only mode.
os_akill, os_sxline, cs_akick: Log deletions by number.
2013-10-05 00:33:03 -04:00
Adam
fde83f6564
Rethink jupe/squit thing somewhat. Workaround for the inspircd rsquit/squit mess
2013-07-26 21:40:16 -04:00
Adam
3dc64bac4d
Fix issues with 'Me' related to previous commit
2013-07-26 08:45:44 -04:00
Adam
779f3788c9
More validation stuff from fgs
2013-07-21 18:29:35 -04:00
Adam
604da89813
More basic config validation, and fix crash when no uplinks are configured. spotted by fgs
2013-07-21 03:59:59 -04:00
Adam
1a3d9a016d
Change extensible keys to require explicitly having a type defined for it. Completely modularize more features like bs_kick, entrymsg, log, mode, etc. Move fantasy to its own module. Move greet to its own module.
2013-07-01 22:17:52 -04:00
Adam
1773eef143
Don't enforce usestrictprivmsg on TS6 IRCds and cache the value of usestrictprivmsg
2013-06-19 20:53:40 -04:00
Adam
70319ab8be
Fix usestrictprivmsg /msg vs / logic
2013-06-13 20:50:59 -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
d6640ed5ee
Give an error message when the configuration file ends with an unterminated block
2013-05-25 14:08:50 -04:00
Adam
7aa02864d2
Mark service:channels as a "botchannel" and don't try to hold them on sync, as the client should always be in the channel
2013-05-19 01:11:55 -04:00
Adam
a3dc75c61c
Ignore define{} blocks defining directives to itself
2013-05-18 14:46:42 -04:00
Adam
51b7d53108
Add a config option for the default log bot
2013-05-18 13:08:26 -04:00
Adam
3253455792
Tabify some stuff in config.cpp
2013-05-18 12:25:26 -04:00
Charles Kingsley
1c36de5ab1
Fix config to default prepend_channel true for fantasy
2013-05-11 17:13:01 +01:00
Adam
5e7085130e
Fix reading multi line quotes from the conf with blank lines or lines with only whitespace
2013-05-08 10:12:31 -04:00
Adam
6859decfb8
Fix setting some default flags, reading fantasy blocks, and minusers setting being off by 1
2013-05-07 00:24:37 -04:00
Adam
6578829fa6
Use I_OnUserQuit for os_session because I_OnPreUserLogoff gets called too late, after the users server can be gone. Fix a couple other small things
2013-05-06 22:18:38 -04:00
Adam
ef06226521
Update the rest of modules.example.conf, default inspircd status modes to a sane rank incase they are prefixless, and 50 other things
2013-05-06 07:40:43 -04:00
Adam
3f5f84c92c
The const char* specialization of this no longer works
2013-05-05 21:18:47 -04:00
Adam
5b3f81ea78
That doesn't work either, just don't use references.
...
find ./ -name '*.cpp' -exec sed -i 's/Get<const Anope::string\&>/Get<const Anope::string>/g' {} \;
2013-05-05 21:05:43 -04:00
Adam
3e8752fe66
The default arguments are references to temporaries which fall out of scope once the function returns, so we can't use them. gcc is just nice. cronus sucks. also validate a few more config options
2013-05-05 20:38:57 -04:00
Adam
ee2dcf11b8
Cache timeoutcheck and fix a typo in example.conf
2013-05-05 02:49:32 -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
4f9b7874d6
Pass new config and the new config reader to the OnReload event, aswell as call it on module load on modules that hook to it
2013-04-11 00:08:28 -05:00
Adam
b244c74479
Allow privilege descs to be read from the config to override the defaults
2013-04-09 14:51:39 -05: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
6e0dc0e210
Add networkinfo:modelistsize config option to set the max size of b/e/I lists
2013-03-31 00:43:11 -05:00
Adam
4c74020a69
Add group and hide setings to fantasy{} blocks
2013-03-14 09:03:48 -05:00
Adam
b95b8f0aae
Fix setting BSDefFlags from the config
2013-03-14 09:03:48 -05:00
Adam
fc1d7ea89b
Switch Destroy methods to delete
2013-02-14 20:58:01 -05:00
artemiiav
1075bb1dbc
Update src/config.cpp
2013-01-31 22:33:14 +03:00
Robby-
aea86906f4
Some configuration file updates: Removed now non-existing settings. Redid some existing settings to look more consistent/uniform. Added some missing commands/permissions.
...
Merged operserv/modlist permission into operserv/modinfo.
Fixed ChanServ INFO privilege to actually work for /BotServ INFO too for those users who have it, instead of only for founders.
Fixed some typos aswell as removed whitespaces along the way.
2013-01-31 06:19:14 +01:00
Adam
a62698a14a
Remove sendpass from the configs and the config reader since it no longer exists
2013-01-30 17:44:07 -05:00
Adam
3769cc1a35
Fix memo signon and memo receive default flag names
2013-01-24 08:53:35 -05:00
Adam
f656e3195f
Add hidenetsplitquit config option to not show splits in /ns info's last quit field
2013-01-22 19:47:16 -05:00