Adam
e8ad509aa5
Fix dlerror() on Windows and do not abort if err is not set
2014-05-27 12:55:03 -04:00
Adam
37b3ed8ef3
Do not normalize extban masks
2014-05-27 12:55:03 -04:00
Adam
7a2d027e1d
Fix deflanguage from 4034b3054a, this shouldn't have been removed
2014-05-21 10:47:50 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -04:00
Adam
5a1257b7f0
Fix extra space in log messages with logtype channel and no source
2014-05-21 08:40:54 -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
20ce170024
Show account names in log messages
2014-05-20 12:19:26 -04:00
Adam
4034b3054a
Add English language file which users can edit to modify language strings
2014-05-20 11:41:05 -04:00
Adam
e581158645
Fix two compile warnings in access.cpp on newer compiles
2014-05-20 10:00:34 -04:00
Adam
13ea98a02e
Fix server usercounter not being incremented when servers are bursting
2014-05-19 22:46:28 -04:00
Adam
db56a61f86
Fixup previous commit when serializing access entries
2014-05-19 22:45:45 -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
63b02b8c97
Sanitize nuh masks more to prevent the other side from rewriting them, which screws with our internal tracking of them
2014-05-13 22:57:53 -04:00
Michael Wobst
76a9538441
Fix compile warning in base64.cpp:B64Encode
...
/home/ircd/anope/src/base64.cpp: In function ‘void Anope::B64Encode(const Anope::string&, Anope::string&)’:
/home/ircd/anope/src/base64.cpp:85: warning: ‘input’ is used uninitialized in this function
2014-05-13 18:28:53 +02:00
Adam
0663f5e412
Fire the on user quit event when bots are deleted too
2014-04-26 17:45:16 -04:00
Adam
4eb0a3bdb7
Fix ModeManager::RebuildStatusModes, not all modes are in GetChannelModes() at the time this is called
2014-04-26 15:24:19 -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
2ab4f175a8
Don't allow users to join channels they are already in
2014-04-25 16:20:23 -04:00
Adam
00b2cc9ce6
Require at least user@host format for akills. Fix XLine::GetHost() not returning anything if an xline only has a host
2014-04-24 01:38:45 -04:00
Adam
63838fa77d
Merge pull request #72 from attilamolnar/2.0+svsnickfix
...
Fix SVSNICK target being a nick even when UIDs are available
2014-04-20 02:03:03 -04:00
Attila Molnar
e36f8143e3
Fix SVSNICK target being a nick even when UIDs are available
2014-04-19 14:35:50 +02:00
Adam
72b26043b2
Remove unused event.
...
Mark some oper only usermodes as oper only.
Fix reading SID in TS6_SID_Retrieve
2014-04-18 02:21:06 -04:00
Adam
c1c45a5db9
Do not clear all extension items tied to objects when unserializing.
...
Instead, pass the old object to the unserialization functions and let
them incrementally update the object.
2014-04-07 15:28:07 -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
fb5c5e3442
Set minus no arg on +l in all proto mods
...
Set oper modes/vhost on oper too, evan after iding
Add umode +q to plexus
2014-04-02 22:37:35 -04:00
Adam
1397fda786
Bump to Anope 2.0.1-git
2014-03-31 20:10:51 -04:00
Adam
4ccc478830
Anope 2.0.0 Release
2014-03-23 08:58:02 -04:00
Adam
a259244297
Make bouncymodes harder to trigger by only bumping server modcount when something changes
2014-03-20 10:53:27 -04:00
Adam
c1da009de3
Show a better log message when disconnecting from the uplink
2014-03-19 02:40:48 -04:00
Adam
ef9729fb02
Mark all channels as syncing when we connect to our uplink. They will
...
finish syncing later when the uplink syncs. Normally the channel state
is fully synced here anyway, except if we do not know the modes the
uplink has yet.
Also fix a related issue with resetting chanels and bouncing modes on
our clients, if this is done prior to knowing which modes exist it would
silently fail.
2014-03-14 22:13: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
fee016bb84
Handle nick collisions somewhat instead of blindly overwriting the nicks
...
in memory, which does weird things.
For fun different ircds implement this differently (Unreal compares
timestamps, TS6 compares timestamps and user username/host), and whether
or not we get a kill for our user also varies, so just kill everyone.
This can't really happen anyway with properly set qlines, only if
services haven't yet set the qlines, or possibly in a bot add/nick
user introduce race, or with enforcers, which not many ircds require.
2014-02-27 22:42:54 -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
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
b6d771a114
Anope 2.0.0-rc4 Release
2014-02-24 00:31:07 -05:00
Adam
4ac3ade126
Use a more reliable way to detect if services are running in anoperc
2014-02-23 23:08:35 -05:00
Adam
aa6b12c5eb
Fix Windows build
2014-02-21 21:54:01 -05:00
Adam
1edb7e776b
Merge pull request #54 from attilamolnar/2.0+webcpanelfix
...
Don't create zero length DataBlocks in BinarySocket::Write()
2014-02-18 12:59:37 -05:00
Attila Molnar
3883716883
Turn BinarySocket::Write() into a no-op when called with l == 0
2014-02-18 03:28:02 +01:00
Attila Molnar
2d0fdb74d1
Fix setsockopt() with SO_REUSEADDR not working due to wrong argument type
2014-02-18 02:31:01 +01:00
Daniel Vassdal
1b1180fda6
base64.cpp: B64Decode(): Don't crash on "="
2014-02-14 13:42:21 -08:00
Adam
5dfa6598c2
Do not sync channels in Channel::Reset if they are in the middle of syncing, and checkmodes in Channel::Sync. Fixes channel modes sometimes not being set if always_lower_ts is on
2014-02-14 11:09:53 -05:00
Adam
96fc940af7
Only trim newlines and carriage returns in BufferedSocket::GetLine
2014-02-11 19:25:44 -05:00
Adam
6d61a84286
Add an opertype priv "protected" to not allow services to kick a user.
...
Also classify ulines as protected
2014-02-09 18:51:52 -05:00
Adam
66cc965fd7
Ignore nonblocking errnors on socket operations
2014-02-05 15:26:03 -05:00
Daniel Vassdal
7926238fd2
Improve IsChannelValid()
2014-02-01 10:55:12 -08:00
Adam
c3302194eb
Anope 2.0.0-rc3 Release
2014-01-26 01:18:38 -05:00
Adam
87230c17b7
Fix extra space in the unknown command error message
2014-01-26 01:14:58 -05:00