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
Adam
0b9db15efc
Add os_dns, a way to control your DNS zone via services
2012-10-22 00:54:30 -04:00
Adam
e57b470e83
Made fantasy commands configurable
2012-10-08 04:16:23 -04:00
attilamolnar
ec8a1bcc82
Add a config option for server side topic locks
2012-10-07 00:59:49 +02:00
Adam
b19a3af4db
Add networkinfo:chanlen config directive
2012-10-01 02:29:31 -04:00
Adam
7e3b5bed50
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
2012-09-07 23:44:15 -04:00
Adam
9d6626f70c
Made session tracking ip based, not host based, and allow using CIDR to group multiple ips from one subnet to one session
2012-09-07 12:04:25 -04:00
Adam
5c07863ad5
Allow configuring killquick and kill delays
2012-09-07 08:46:28 -04:00
Adam
3c63e44d32
Allow ; and } in quoted strings
2012-09-07 05:59:28 -04:00
Robby
f7bf2fa960
Put motd in conf/ not data/ and fixed the default values in the config
2012-08-08 17:09:34 -04:00
Cronus
b894a569c9
Update pid and motd file paths
2012-08-08 04:28:33 -04:00
Adam
48022c3ddf
Warn about really big integer values in the config
2012-07-18 16:52:14 -04:00
Adam
2cbfbc98e9
Some access level fixes from Robby to more closely match the historic levels, and some code cleanup
2012-05-26 02:15:48 -04:00
Adam
70fb5900a2
Add support for inspircd2.0+s mlock, improved on Unreal's, and made server side mlock usage configurable
2012-05-23 19:35:56 -04:00
Adam
675b113c3e
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
2012-05-06 21:43:50 -04:00
Adam
62818abbf4
Added options:casemap to chose how case insensitive strings are compared, using ascii, rfc1459, or a locale installed on the system
2012-04-29 15:43:51 -04:00