Michał Zegan
d9c9f2a407
Changed calls to Get() for bool extensible items to HasExt in the chanserv module, remove duplication of code.
2014-12-12 03:48:00 +01:00
Adam
afffeb0a1d
Update Kill() calls to pass source pointer instead of name
2014-12-05 17:27:08 -05:00
Adam
4f33b17f96
Move automatically identified for log message to users
2014-11-25 09:00:15 -05:00
Adam
be928b5bbc
Clean up collide timers on identify, otherwise you can login and logout before the timer tick which will still enforce the collide
2014-10-06 14:06:36 -04:00
Adam
829ef1b7bd
Clear pending collided state on release, fixes colliding users using recover into enforcers
2014-10-06 14:06:36 -04: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
a6af422184
Set timer owner for nickserv timers
2014-05-27 12:55:03 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -04: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
df321a118e
Fix access lists showing the wrong mask if the display nick for a group
...
expires but the group still exists. This can cause access entries for
nicks to not be deleted whenever the nicks are deleted.
2014-05-14 19:10:23 -04:00
Adam
860deb14ce
Do not send unregistered notice to users who are logged in, even if their nick isn't registered
2014-03-10 07:26:09 -04:00
Adam
62885fa462
Set nickserv's modesonid on login too
2014-03-10 05:04:25 -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
55a5affcb8
Do not allow guest nicks to exceed nicklen, and use a default enforcer ident/host if none is provided
2014-03-04 04:15:32 -05:00
Adam
dc23c58869
Fix botserv help to show the correct fantasy characters
2014-03-01 21:11:58 -05:00
Adam
5adc8bfefc
Do not take modes from users in channels with secureops off if we are always lowering channels timestamps to their creations
2014-02-27 04:48:48 -05:00
Adam
bb0e2a9a07
Make it easier to use fantasy without botserv, and document it
2014-02-05 08:46:51 -05:00
Adam
a29b7897f0
Use the SQLine reason in the kick reason for sqlined channels
2014-01-26 01:14:28 -05:00
Adam
4d9273efa4
Unbreak account stuff from commit ccae59430a.
2014-01-21 17:20:15 -05:00
Adam
45c0bf8f32
Fix recovering enforcers not properly quitting them
2014-01-04 17:45:58 -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
6e6543d3ed
I don't think this OnBotKick to hold channels is necessary anymore as Sync should cover everything now, and this causes weird things when the last user in a channel kicks themselves out using the bot. Also handle users rejoining a channel while its held better.
2013-12-31 16:12:21 -05:00
Adam
b638b653d2
Fix crash when channels are registered that do not exist by non users
2013-12-27 17:12:01 -05:00
Adam
2f29c1388c
Fix not setting the persist flag on newly registered channels when the permanent channel mode is set prior to registering or during registration
2013-12-26 11:39:35 -05:00
Adam
c967a4ce88
Shrink nick and channel default flags in db_old, otherwise converted nicks/channels always end up with the defaults enabled, even if they explicitly have them set off. Fix setting nickserv defaults to none.
2013-11-21 17:31:18 -05:00
Robby-
498da95205
Stop requesting identification when changing nicks to a registered nick, and the current client certificate fingerprint matches one on the nickname's list.
2013-10-28 09:30:20 +01:00
Robby-
710d4848bd
Fix kill and killquick default expiry times.
...
ns_access and ns_cert: Fix accessmax defaults, also state in the config that 0 is not a valid value.
2013-10-28 09:25:17 +01:00
Robby-
bd3bed2118
Fix some typos and touch up the configs a little.
2013-10-28 09:13:53 +01:00
DukePyrolator
2cfc97053f
moved some config options from example.conf to nickserv.example.conf
2013-10-26 18:33:07 +02:00
Adam
1b08ba8f41
Always show expire time for nicks in /ns info to opers, even if the user is online
...
Make Anope::strftime show "now" if the time is now
Fix typo in nickalias.cpp for the type of the last_seen field, spotted by grawity
2013-10-05 13:21:28 -04:00
Adam
277f735505
Hide expires in /cs info if the channel is actively in use as it confuses people
2013-10-05 01:07:51 -04: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
e5b8435769
Fix not setting -r when channels are deleted
2013-10-05 00:33:03 -04:00
Adam
7b6c08b53a
Exempt ulines/myself from bounce mode check
2013-09-29 17:22:25 -04:00
Robby-
4221a507cc
Fix NickServ default nick expiry time.
2013-09-29 15:42:22 -04:00
Adam
44dd8d07d9
Add chanserv:always_lower_ts config option to always lower registered
...
channels timestamps to the creation time which fixes some race
conditions regarding users joining empty registered channels and doing
things prior to the -o from services coming through.
Without always_lower_ts attempt to bounce mode changes from bad users,
which will work okay in most cases.
2013-09-29 15:41:32 -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
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
Adam
5f7127dd92
Don't send regex qlines and nlines to the IRCd
2013-09-27 19:11:01 -04:00
Adam
1107b92699
Drop matching channels on forbid, and enforce nick forbids even on IRCds
...
with no qlines
2013-09-27 18:02:26 -04:00
Adam
3b0b1bc80e
Don't send SQLines unless the IRCd supports it
2013-09-27 18:02:26 -04:00
Adam
20856fb59c
Remove +r etc when channels are deleted
2013-09-27 17:21:20 -04:00
Adam
5ce90ba7d1
Fix not updating last_seen on expire nick for nicks with secure off. Don't show Expires in /ns info if the nick is online currently as it confuses people
2013-09-19 12:38:28 -04:00
Adam
339f41aebc
Fix allowing duplicate entries on the snline list
...
Have proto mods recognize cidr ranges as zlineable IPs
Remove operserv/global from global.conf because its dumb
Fix example config ~botserv/set example to work as expected
2013-09-08 21:53:06 -04:00
Adam
55e4ef9d3a
Fix logging /os set list. Enforce snlines on ircds that can't have snlines set by just killing the user. Fix double call to OnMatch() when a user matches an xline
2013-09-08 06:02:35 -04:00
Adam
fac880664c
Make chanserv:require not default to r
2013-08-27 02:56:54 -04:00
Adam
6b79349e6c
Fix User::IsIdentified with check_nick, do not remove +r on bursting clients until after server sync
2013-08-25 23:26:45 -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
847cceaba3
Create persistent channels on startup, which used to work and got lost somewhere
...
Fix some oddities with using persistent channels with no botserv
Send list modes to uplink when bursting
Fix issues with persist + keepmodes
Fix /os modes clear all not clearing all status modes
Fix operwall on ratbox/plexus
Dont apply mlock in SetCorrectModes since that just recursively calls itself unncessarially
Change command logging to show the command name and not the service name
2013-08-25 04:48:43 -04:00
Adam
765943062e
Always require the registered channel mode is set. Comment out default config requiring "r" as some ircds use it for registered users only
2013-08-21 01:35:57 -04:00