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
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
da6543d17b
Allow grouping commands to make help output easier to comprehend
2013-01-13 22:07:27 -05:00
Adam
d3a6bdc68b
Allow the config parser to skip over gettext's _() to allow translating config values
2013-01-13 22:07:27 -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
9931ec2994
Use m_rewrite to rewrite op, deop, halfop, ... etc
2013-01-08 20:25:01 -05:00
Adam
dcd34d3728
Move DNS handling to a module
2012-12-15 01:33:31 -05:00
Adam
705d1efeab
Allow services to return more than one NS record
2012-11-30 20:49:59 -05:00
Adam
1bfafd9eb6
Fixed rehasing doing weird things to botmodes due to trying to set on nick not uid
2012-11-26 04:30:30 -05:00
Adam
1bdb756b25
Restrict the length of kick reasons in cs_kick, cs_ban, and cs_akick
2012-11-25 22:37:54 -05:00
Adam
831a1d15d5
Merge ns_ghost, ns_recover, and ns_release. Fix svskilling users on Unreal.
2012-11-25 19:41: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
ff3e396e92
Add a config option to disable sasl
2012-11-09 19:13:33 -05:00
Adam
a0a54fdfe0
Expand options:hideprivilegedcommands to not show commands requiring authentication to unidentified users
2012-11-01 16:15:44 -04:00
Adam
3a10fca75f
Fix ns_ghost and ns_recover, add nicksev:restoreonghost
2012-10-31 12:37:43 -04:00
Adam
1730bfb2bc
Send uids everywhere when setting modes on clients
2012-10-30 21:22:10 -04:00
Adam
e1dcf24c98
Add nickserv:modesonid config option to set what modes users get on identify
2012-10-26 17:30:41 -04:00
Adam
1057fa8421
BIND's forward ability did not work as I expected
...
because it will not forward non recursive queries.
So, added support for SOA, NS, and AXFR requests.
2012-10-24 19:32:26 -04:00
Adam
04632bd381
Cleanup of last few commits/warning fix
2012-10-22 17:02:01 -04:00