Adam
0cd3bfa24f
Fix module event prioritization which was broken with the newer
...
auto-attach event stuff.
Also remove logically dead code from os_defcon, and make os_defcon akill
similar masks to os_session when enforcing session akills.
Fixes #1618 which relies on os_session to be prioritized before
os_defcon.
2014-10-14 18:58:55 -04:00
Adam
48be41cf7b
Squit uplink when I receive an squit for myself
2014-10-12 14:34:15 -04:00
Adam
5ceee5df38
Hide dumb user notice if we are quitting
2014-10-12 14:32:17 -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
24f17de4aa
Fix stats u on Windows
2014-08-03 18:03:07 -04:00
Adam
3c88f3b8cf
Check modetimes in CheckModes before enabling bouncy modes
2014-07-15 17:02:14 -04:00
Adam
93cb5d06db
Fix channelcount with clone
2014-07-11 01:02:02 -04:00
Adam
07902c03fd
Check that the list of items isn't NULL when destructing types
2014-06-28 23:15:59 -04:00
Adam
d9949320c7
Don't try to setuid down until after we signal the parent to exit, unless we're not forking. Also don't issue the run as root warning if we're going to setuid later.
2014-06-28 23:15:59 -04:00
Adam
ff93355af8
Hold a reference to the type in Serialize::Checker in the event it goes away, and invalidate the type pointer of objects when the type goes away
2014-06-23 15:44:06 -04:00
Adam
8066378471
Fix WindowsGetLanguage()
2014-06-10 22:00:26 -04:00
Adam
6526d2d8b3
Fix Windows release build with gettext
2014-06-01 13:53:32 -04:00
Adam
54e98f017c
Always log when the uplink socket errors, and give possibly helpful advise
2014-05-31 21:17:46 -04:00
Adam
bb7706d0f7
Anope 2.0.2-git
2014-05-31 19:09:23 -04:00
Adam
16e0b72d2d
Update FindGettext.cmake for new Windows stuff and fix language.cpp
...
compile
2014-05-31 18:30:50 -04:00
Adam
b578e32531
Anope 2.0.1 Release
2014-05-30 20:57:32 -04:00
Adam
4d8e3b847d
Fix f627a3bacd, really make BotInfo::Part fire events like the normal user part message does
2014-05-30 20:57:23 -04:00
Adam
f20bac996d
Fix Windows build and update library names to the newer ones.
...
Also fix crash on Windows when unloading a module because it threw an
exception.
2014-05-30 18:14:55 -04:00
Adam
f8829783d2
Queue the grouped nicks to update when NickCore::SetDisplay is called, since they serialize the display field
2014-05-30 15:16:03 -04:00
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