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
907e192aab
Merge pull request #126 from SaberUK/2.0+typos
...
Fix a ton of typos.
2015-09-06 16:11:50 -04:00
Adam
a86162f287
Fix incorrect iteration when destructing modelockimpls
2015-07-13 18:02:44 -04:00
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Adam
9834518b28
Fix os_mode to handle channels going away due to mode changes, and maybe cs_mode
2015-02-05 20:16:43 -05:00
Adam
d324e91520
Fix negatively locking param modes in default mlock
2015-01-26 13:16:25 -05:00
Adam
bf8f62c32d
Change Channel::GetModeList to return a copy of the mode list, not a
...
pair of lower/upper bound iterators.
Sometimes when iterating the list, like in cs_mode, we can modify the
contents of it, which combined with mlock always agressively trying to
readd modes to it can do bad things.
2014-08-24 16:39:04 -04:00
Adam
d6d72cd803
Add cs_mode:max config option
2014-08-03 18:57:00 -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
f369157906
Use OnChanRegistered instead of OnCreateChan to set default mlocks.
...
Because OnCreateChan is called from ChannelInfo's constructor, during
DB loading it could cause mode locks to be unserialized without having
all channels loaded, which breaks things.
2014-04-17 16:58:04 -04:00
Adam
09bec79b47
Fix 2 crashes from removing the permanent channel mode from channels which do not exist
2014-03-04 04:15:32 -05:00
Adam
ed0882ec04
Do not enforce mlock when enforcing mlock
2014-03-01 18:39:10 -05:00
Adam
4f8c4f8fef
Actually just allow mode clear to take any mode name
2014-02-03 10:05:13 -05:00
Adam
25957111b2
Fix typo in mode clear, exempts -> excepts
2014-02-03 08:41:27 -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
aeebaed4b2
Default adding to 1 in mlock add/del, always reply with something even if the input is invalid
2013-11-18 10:49:54 -05:00
Robby-
feb412bdb1
cs_mode: Fix override in /cs mode set.
2013-10-05 00:33:03 -04:00
Adam
17196887ad
Allow modifying mlock on nonexistant (but registered) channels
2013-09-27 19:11:02 -04:00
Robby-
12a0311aaa
Add missing columns to os_forbid. Make most lists with dates use the shorter output format.
2013-09-27 19:11:02 -04:00
Robby-
bf67b9ee5c
Make column titles in listings translatable.
...
Make some more strings translatable, and remove some that don't need translation at all.
Make expirytimes and units translatable.
Make predefined messages in listings also translatable.
Make the remaining command descriptions translatable.
Make some ns/cs info strings equal to dedupe in translation file. Add missing no-autoop setting to cs info output. Make some strings translatable.
2013-09-27 19:11:02 -04:00
Adam
80c02740d0
Translate listformatter properly
2013-09-27 19:11:02 -04:00
Robby-
4f820a7d41
Fix typos, remove dead language defines.
...
os_set: Add missing debug text in help output.
2013-09-27 19:11:02 -04:00
Robby-
7545763cd4
Added missing override capabilities and log calls to some ChanServ commands
2013-09-27 17:21:20 -04:00
Adam
1818b19eba
Fix cs_mode lock reply if nothing is done
...
Fix not clearing forbids when os_forbid is unloaded
Apply nick and chan forbids when added
Fix loading forbids until after the service is constructed
2013-09-27 16:33:56 -04:00
Adam
e5ece18ee7
Readonlyize many commands
2013-09-20 21:09:35 -04:00
Adam
59ea36c831
Move Serialize::Types to construct after the corresponding extensible items they require when unserializing
2013-08-27 03:18:43 -04:00
Adam
7f890ce98d
Log parameters given to /cs mode set. Add logging to /os ignore.
2013-08-26 02:05:41 -04:00
Adam
50e1a3e96c
Fix status mlocks. Fix reply from lock add.
2013-08-26 02:00:25 -04:00
Adam
714a4a3004
Remove unnecesary mlock code in cs_mode, change mode set events to never bounce modes set by bots or servers, as it was possible to get modules to fight with each other
2013-08-25 21:33:52 -04:00
Adam
4abfdcbb9c
Do not default mlock +r, it is unnecessray and only clutters up the mlock list
2013-08-14 18:24:04 -04:00
Adam
6db0186947
Fix not setting the correct compile flags on modules and fix the resulting warnings
2013-07-20 03:06:20 -04:00
Adam
eabb9c0c11
Fix deleting badwords/modes/logs etc
2013-07-08 20:35:04 -04:00
Adam
0ff48e1538
Move op/deop/etc back to an actual command, its too hard to use cs_log with it as rewrites. Allow cs_log to work with either command names or service names.
2013-07-07 23:13:29 -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
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
9ee7c825e1
Check for peace being on before denying a mode change in cs_mode
2013-05-08 18:15:39 -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
db4ed1cfaf
Merge chanserv saset and set back into one command since it no longer needs to be separated... replace chanserv/set privilege with chanserv/administration. Dont tell users to use 'help' for more help if there is no help.
2013-04-11 00:51:08 -05:00
Adam
207c46c871
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
2013-04-10 22:26:40 -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
6a46a08a85
This worked before but is a little weird
2013-04-06 16:58:04 -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
ed68482b4e
Add /cs mode clear command that behaves like the old /cs clear modes/bans/etc
2013-02-20 15:51:40 -05:00
Adam
5cf1edeb6e
Fix CommandCSMode::CanSet letting everyone set voice
2013-02-14 01:20:18 -05:00
Adam
20794981b3
(re?)add mlock set as a simple way to clear all mlocks and add new ones at once
2013-02-09 00:24:15 -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
9931ec2994
Use m_rewrite to rewrite op, deop, halfop, ... etc
2013-01-08 20:25:01 -05:00
Adam
b591e8cdc8
Use the same object for chanusercontainer and userchancontainer
2012-12-28 10:43:30 -05:00