Sadie Powell
6538641e87
Remove some unnecessary spaces that break editor indentation.
2023-12-17 13:59:49 +00:00
Sadie Powell
6e16e71fda
Remove the two day X-line cap.
2023-11-03 11:01:01 +00:00
Sadie Powell
a3241065c5
Start migrating to range-based for loops.
2023-10-11 15:51:52 +01:00
Sadie Powell
885462d98e
Merge branch '2.0' into 2.1.
2022-12-31 22:11:19 +00:00
Sadie Powell
33a337dfc0
Update the copyright headers for 2023.
2022-12-31 22:08:50 +00:00
Sadie Powell
a631028660
Merge branch '2.0' into 2.1.
2022-01-12 22:08:35 +00:00
Sadie Powell
b8bcad048e
Update the copyright headers for 2022.
2022-01-06 23:15:44 +00:00
Sadie Powell
a5f7aac295
Replace anope_{final,override} with their C++11 equivalent.
2022-01-03 19:02:44 +00:00
Sadie Powell
c68b81eac8
Merge branch '2.0' into 2.1.
2021-02-18 23:59:28 +00:00
Robby
c5a4e8337c
Update copyright to 2021.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2021-01-07 03:31:08 +01:00
Sadie Powell
9d6dd4af11
Remove the non-tagged version of IRCDMessage::Run.
2020-09-28 15:28:27 +01:00
Robby
c8699c6726
Update copyright to 2020.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2020-01-04 15:51:20 +01:00
Peter Powell
6617d29b52
Fix a bunch of broken indentation.
2019-12-14 18:38:13 +00:00
Robby
6fbb7cffe9
Update copyright to 2019.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2019-01-01 17:43:35 +01:00
Robby
e03ae0cd85
Update copyright to 2018.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2018-04-25 19:22:13 +02:00
Robby
76ce8ece1a
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
2017-01-17 05:03:25 +01:00
Robby
8656b65e39
Update copyright to 2017.
...
This was done with:
find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \;
Added missing copyright headers to files that didn't have it yet.
2017-01-16 03:13:25 +01:00
Adam
fe6271dffb
ngircd: move metadata non-exietent user log message to debug
2017-01-07 18:04:07 -05:00
Adam
65db59b3ec
Remove unnecessary functions from ngircd that duplicate the default behavior, fix a few typos in comments
2016-12-10 23:28:50 -05:00
Adam
647f8cd4e6
Add/fix various checks on source user existing in the protocol modules
2016-07-23 15:47:33 -04:00
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
Peter Powell
1666b1a8d8
Fix a ton of typos.
2015-07-08 11:06:02 +01:00
Adam
845ca576b4
More properly track topic change sources and allow users with access to change topics through topiclock
2015-01-28 22:57:15 -05:00
Alexander Barton
d4732faf41
Correctly assign nicks to their respective host servers
...
Use the "server token" parameter of NICK commands to find the host server and
correctly assign the nick name to this server.
This allows Anope to correctly free all nick names again when (remote) servers
leave the network, which fixes arbitrary "KILL attacks" when such nick names
reconnect later on.
Initial debugging and patch by DukePyrolator, thanks a lot!
2014-11-30 21:50:11 +01:00
Alexander Barton
95684187b6
Fix server token assignment of servers in the network
...
1. the directly linked server, our upstream, always has token "1", and
2. for remote servers in the network, the token and description filds
were interchanged during registration,
therefore up to now no server could be found by Server::Find() using its
assigned server token.
2014-11-30 21:49:34 +01:00
Adam
18b3c572f4
ngircd doesn't allow sourceless messages
2014-10-06 14:06:36 -04:00
Adam
f627a3bacd
Core prep for p10 stuff
2014-05-21 08:50:40 -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
Alexander Barton
547fe0da1a
ngircd protocol module: really kill users
...
ngIRCd doesn't send a QUIT for each user KILL'ed, so kill them immediately.
2014-03-05 10:26:54 +01: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
4d9273efa4
Unbreak account stuff from commit ccae59430a.
2014-01-21 17:20:15 -05:00
Adam
34826f71c7
Merge pull request #22 from fgsch/misc
...
Better ngIRCd support
2013-08-25 01:49:42 -07: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
Federico G. Schwindt
76f5d4b316
Sort parameters and correct comments
2013-08-25 04:54:35 +01:00
Federico G. Schwindt
9b59925144
For ngIRCd, on nick change set mode -R
2013-08-25 04:54:32 +01:00
Federico G. Schwindt
243d781e99
Add login support for ngIRCd
...
This is implemented via the accountname METADATA command
2013-08-24 17:56:46 +01:00
Federico G. Schwindt
9d6f88de39
Add certificate fingerprint support for ngIRCd
2013-08-07 23:44:58 +01:00
Adam
1e625b6837
Use MessageSource as the source for many IRCDProto funcs
...
Keep track of what user modes are oper only/server only/etc
2013-08-01 13:39:35 +00:00
Federico G. Schwindt
e908dc0dc7
Make ChannelModeStatus level mandatory
...
Levels are used in Channel::SetCorrectModes() when removing modes.
2013-07-23 18:03:32 +01:00
DukePyrolator
f6b915a169
added whois support to the ngircd protocol module, thanks to fgs for sending the patch
2013-07-19 22:28:33 +02:00
DukePyrolator
2ea594d677
added protocol support for incoming NOTICEs
2013-07-08 05:05:13 +02:00
Adam
5ac1e9175d
Set vhosts when users id to an account (and not a nick), add account arg to user ctor to ease handling users who connect already identified
2013-06-19 19:03:56 -04:00
Adam
37b3535543
Initially attach all modules to all events, and detach them as the events are run if they are not implemented per module
2013-05-27 19:36:37 -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
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
f08dbced60
Allow assigning service bots via /invite
2013-04-14 17:39:01 -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
325b018ed0
Add a default method for user's SendModeInternal
2013-04-09 00:00:52 -05:00
Adam
fb7fef7a84
Optimizations of much of the more commonly used code
2013-04-07 23:46:44 -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