Bram Matthys
8b45169f82
Get rid of $Id$ in /MODULE (version) output. Just report as "4.0"
2015-10-11 18:18:31 +02:00
Bram Matthys
0256ea08df
Fix SASL crash
2015-08-16 15:08:30 +02:00
Bram Matthys
13fffa4e1a
split all the local client stuff to acptr->local. makes it a lot easier to catch bugs.
...
If the IRCd crashes then it's likely not by this change but rather an existing issue that was previously gone unnoticed.
2015-07-19 12:48:18 +02:00
Bram Matthys
7e78f04058
add src/api-clicap.c and hide 'sasl' when needed (as before) via the clicap->visible callback function
2015-07-12 17:17:19 +02:00
Bram Matthys
372ce82335
Make client capabilities a modular sub-system, as it should have been since the beginning.
2015-07-12 17:10:48 +02:00
Bram Matthys
e8dfb284a1
Replace parv[0] with sptr->name. Don't use parv[0] anymore.
...
I went through all 500+ of them by hand as to avoid introducing bugs... we'll see ;)
2015-07-10 12:17:05 +02:00
Bram Matthys
fe14e21175
Update all MOD_TEST/MOD_INIT/MOD_LOAD/MOD_UNLOAD calls to new format
2015-07-08 18:02:19 +02:00
Adam
d540adbc7f
Just build the cap list once, fix memory leaks
...
Not sure what this originally was supposed to do, but clicap_find is
normally called multiple times per cap request per client, so this makes
no sense at all.
2014-07-29 15:29:28 -04:00
Bram Matthys
ec0b431e4f
just one 'account-notify' in CAP is sufficient ;)
2014-05-31 16:11:14 +02:00
Bram Matthys
ba08bed3cd
Port from 3.2.x: "Various fixes, more info later."
2014-05-30 22:26:19 +02:00
Bram Matthys
101d2dd6a3
Big 3.4.x commit containing bug fixes and enhancements. Modularizing
...
user & channel modes. Fixing Windows build. Etc..
2014-05-11 20:56:02 +02:00
William Pitcock
8944ebc093
- m_cap: fix nospoof bypass ( #4222 )
2013-09-21 06:08:00 +00:00
William Pitcock
0a1624e24a
- m_cap: readd code to break a loop that i removed by accident
2013-05-20 20:03:40 +00:00
William Pitcock
5b32e5fa79
- m_sasl: take over cap_sasl implementation
2013-05-20 17:33:06 +00:00
William Pitcock
c00350b760
- Move tls cap to m_starttls.
2013-05-20 17:28:53 +00:00
William Pitcock
9d78a92976
- Modularize the core of CAP. Now, we have HOOKTYPE_CAPLIST, which allows for ClientCapability
...
objects to be added to the list.
2013-05-20 17:22:01 +00:00
William Pitcock
f5cc654a06
- Initial work on modularizing CAP.
2013-05-20 17:04:16 +00:00
William Pitcock
b413848524
- TOK_FOO removal pass 2
2013-05-19 21:40:45 +00:00
William Pitcock
ca86485927
- Remove token parameter from CommandAdd().
2013-05-19 21:27:26 +00:00
William Pitcock
d96652dc84
- CAP: use case-insensitive command lookup. ( #4154 )
2013-01-14 04:00:50 -06:00
Bram Matthys
eb12f79ba3
- Added set::options::disable-cap, which can be used to disable the
...
new CAP support (#4104 ).
2012-10-15 15:29:52 +02:00
Bram Matthys
982803a6b8
- SASL now needs to be enabled explicitly by setting a set::sasl-server.
...
If this is not set, then SASL is off and not advertised.
If the specified server is not connected, then SASL is off as well.
This prevents unnecessary delay (and the inability for some clients to
get online) when SASL is not in use or when the SASL server is down.
2012-05-07 16:51:03 +02:00
William Pitcock
3563c26a93
- Add support for account-notify client capability ( #4098 ). This capability
...
can be used to request passive notifications for accountname changes.
2012-04-09 10:48:51 +02:00
Bram Matthys
309dac4f2b
- Added 'away-notify' client capability, which informs the client of any AWAY state changes of users on the same channel. Patch from nenolod ( #4097 ).
2012-04-09 10:35:17 +02:00
Bram Matthys
61610fe763
- Added support for SASL, patch from nenolod ( #4079 ).
2012-03-25 10:15:28 +02:00
Bram Matthys
b9137af15c
- Advertise 'tls' (STARTTLS) capability in CAP. Patch from nenolod ( #4081 ).
2012-01-22 16:03:30 +01:00
Bram Matthys
d530dbd43d
- Add CAP support. Currently implemented are: multi-prefix (NAMESX), and
...
userhost-in-names (UHNAMES). Patch from nenotopia (#4018 , #4066 )
2012-01-20 21:25:59 +01:00