]> jfr.im git - solanum.git/log
solanum.git
11 years agoInclude messages.h for macro form_str in select extensions
Elizabeth Myers [Sat, 27 Apr 2013 09:57:44 +0000 (04:57 -0500)] 
Include messages.h for macro form_str in select extensions

11 years agoFix format string generation
Elizabeth Myers [Sat, 27 Apr 2013 09:57:31 +0000 (04:57 -0500)] 
Fix format string generation

11 years agoBlacklist: fix accidentally clobbering previous filters
Elizabeth Myers [Sun, 21 Apr 2013 16:10:19 +0000 (11:10 -0500)] 
Blacklist: fix accidentally clobbering previous filters

11 years agoMerge pull request #20 from quora-wings/master
William Pitcock [Sun, 21 Apr 2013 03:24:25 +0000 (20:24 -0700)] 
Merge pull request #20 from quora-wings/master

Makefile.in updated

11 years agoMakefile.in updated
Quora [Sun, 21 Apr 2013 03:18:51 +0000 (20:18 -0700)] 
Makefile.in updated

11 years agoRemove last vestige of halfops from this module.
Elizabeth Myers [Sun, 21 Apr 2013 02:23:27 +0000 (21:23 -0500)] 
Remove last vestige of halfops from this module.

How this was in here for this long is well beyond me. This must be old
hybrid code or something.

11 years agoTweak docs.
Elizabeth Myers [Sun, 21 Apr 2013 01:52:34 +0000 (20:52 -0500)] 
Tweak docs.

Also, last commit fixes #16. :p

11 years agoAdd support for multiple forms of blacklist queries using matches.
Elizabeth Myers [Sat, 20 Apr 2013 21:17:29 +0000 (16:17 -0500)] 
Add support for multiple forms of blacklist queries using matches.

It supports both literal and last octet matches from the dnsbl.
If matches is not present, the old behaviour is used.

11 years agoMerge pull request #19 from quora-wings/master
William Pitcock [Sat, 20 Apr 2013 21:12:24 +0000 (14:12 -0700)] 
Merge pull request #19 from quora-wings/master

m_olist is not needed with operspy support for LIST

11 years agoRemoved redundant and buggy code that caused segmentation faults. Also deprecated...
Quora [Sat, 20 Apr 2013 20:59:27 +0000 (13:59 -0700)] 
Removed redundant and buggy code that caused segmentation faults. Also deprecated by operspy support for LIST. Referencing commit Ponychat/shadowircd@162195279af339f6a7bfccc92c0f03c4b68d28c2

11 years agoAdd m_nokillservices to documentation
Elizabeth Myers [Sat, 20 Apr 2013 06:14:54 +0000 (01:14 -0500)] 
Add m_nokillservices to documentation

11 years agoImplement kill-cancelling hook.
Elizabeth Myers [Sat, 20 Apr 2013 06:07:55 +0000 (01:07 -0500)] 
Implement kill-cancelling hook.

With this comes an example module to block the killing of services.

NOTE: this will not cancel remote kills. Those are still accepted, per
the TS 6 specification.

11 years agom_nick: Reject nicks with '~' in them, rather than cutting at the '~'
Alex Iadicicco [Thu, 18 Apr 2013 00:27:27 +0000 (17:27 -0700)] 
m_nick: Reject nicks with '~' in them, rather than cutting at the '~'

The behavior of cutting at the first '~' is confusing at first, and
looks too much like a bug.

11 years agoUpdate .depend files.
Jilles Tjoelker [Sat, 23 Mar 2013 22:32:46 +0000 (23:32 +0100)] 
Update .depend files.

11 years agoDon't send ERR_NICKCOLLISION to a user that will not be killed.
Jilles Tjoelker [Sat, 23 Mar 2013 21:57:28 +0000 (22:57 +0100)] 
Don't send ERR_NICKCOLLISION to a user that will not be killed.

11 years agoMostly enable support for checking format strings with -Wformat.
William Pitcock [Thu, 21 Feb 2013 11:44:16 +0000 (05:44 -0600)] 
Mostly enable support for checking format strings with -Wformat.

Basically derived from Ratbox 3.1.

11 years agowhois: Fix UID leak.
Jilles Tjoelker [Thu, 14 Feb 2013 22:45:22 +0000 (23:45 +0100)] 
whois: Fix UID leak.

The second parameter of WHOIS is always a nick.

11 years agoAtheme is not responsible for the mental health changes of IRC operators using charybdis.
William Pitcock [Sun, 3 Feb 2013 20:06:13 +0000 (14:06 -0600)] 
Atheme is not responsible for the mental health changes of IRC operators using charybdis.

11 years agoUID/EUID: Add server's SID to invalid UID error message.
Jilles Tjoelker [Sun, 3 Feb 2013 19:31:03 +0000 (20:31 +0100)] 
UID/EUID: Add server's SID to invalid UID error message.

11 years agoUID/EUID: Check that the UID starts with the server's SID.
Jilles Tjoelker [Sun, 3 Feb 2013 18:38:46 +0000 (19:38 +0100)] 
UID/EUID: Check that the UID starts with the server's SID.

If not, the local link that sent the command is broken, as with
syntactically invalid UIDs.

11 years agostats l: Don't care about away status.
Jilles Tjoelker [Sun, 3 Feb 2013 18:33:31 +0000 (19:33 +0100)] 
stats l: Don't care about away status.

11 years agoMerge branch 'mailmap' of github.com:grawity/forks.charybdis
Jilles Tjoelker [Sun, 3 Feb 2013 18:31:06 +0000 (19:31 +0100)] 
Merge branch 'mailmap' of github.com:grawity/forks.charybdis

11 years agoCope with rb_crypt() returning NULL.
Jilles Tjoelker [Fri, 1 Feb 2013 23:54:32 +0000 (00:54 +0100)] 
Cope with rb_crypt() returning NULL.

11 years agowhowas: Abort listing if 90% of sendq is in use.
Jilles Tjoelker [Fri, 1 Feb 2013 23:50:03 +0000 (00:50 +0100)] 
whowas: Abort listing if 90% of sendq is in use.

11 years agoSkip cidr checking for hostmask.c entries with negative cidrlen.
Jilles Tjoelker [Tue, 29 Jan 2013 22:43:20 +0000 (23:43 +0100)] 
Skip cidr checking for hostmask.c entries with negative cidrlen.

They will be treated as hostmasks only. In the case of dlines they will
be rejected as invalid.

hostmask.c entries such as dlines, klines and auth blocks can only be
added by opers or via ircd.conf.

11 years agoAlso restrict cidrlen for testmask/masktrace (match_ips()).
Jilles Tjoelker [Tue, 29 Jan 2013 22:31:39 +0000 (23:31 +0100)] 
Also restrict cidrlen for testmask/masktrace (match_ips()).

11 years agoSkip cidr checking for bans with negative or too large cidrlen.
Jilles Tjoelker [Tue, 29 Jan 2013 22:29:34 +0000 (23:29 +0100)] 
Skip cidr checking for bans with negative or too large cidrlen.

Upto some length, such bans could match the exact IP address.

Obtained from: ircd-ratbox (androsyn)

11 years agocache: use rb_strdup() instead of a static buffer for cache lines.
William Pitcock [Tue, 15 Jan 2013 22:24:33 +0000 (16:24 -0600)] 
cache: use rb_strdup() instead of a static buffer for cache lines.

BUFSIZE limitation is retained as there is no need to remove it, as all lines must be smaller than it
due to RFC1459 message requirements.

11 years agostarttls: Don't send ERR_STARTTLS after successful STARTTLS.
Jilles Tjoelker [Sat, 5 Jan 2013 14:09:17 +0000 (15:09 +0100)] 
starttls: Don't send ERR_STARTTLS after successful STARTTLS.

11 years agoserver: Show the missing CAPABs when rejecting a server.
Jilles Tjoelker [Wed, 2 Jan 2013 20:00:18 +0000 (21:00 +0100)] 
server: Show the missing CAPABs when rejecting a server.

11 years agoserver: Move required CAPAB check after authentication and add snote and log.
Jilles Tjoelker [Wed, 2 Jan 2013 19:07:28 +0000 (20:07 +0100)] 
server: Move required CAPAB check after authentication and add snote and log.

11 years agoAdd a Git .mailmap
Mantas Mikulėnas [Tue, 1 Jan 2013 23:44:31 +0000 (01:44 +0200)] 
Add a Git .mailmap

...to make `git shortlog -es` look nicer.

11 years agoreference.conf: Correct description of general::client_exit.
Jilles Tjoelker [Tue, 1 Jan 2013 17:07:37 +0000 (18:07 +0100)] 
reference.conf: Correct description of general::client_exit.

It prefixes with "Quit: ", not "Client exit: ".

11 years agom_capab: fix a possible remote crash triggered by the CAPAB parsing code.
William Pitcock [Mon, 31 Dec 2012 19:13:05 +0000 (13:13 -0600)] 
m_capab: fix a possible remote crash triggered by the CAPAB parsing code.

11 years agocapability: handle NULL passed to capability_get().
William Pitcock [Mon, 31 Dec 2012 19:00:51 +0000 (13:00 -0600)] 
capability: handle NULL passed to capability_get().

11 years agoserver: Simplify some code now ENCAP is mandatory.
Jilles Tjoelker [Wed, 19 Dec 2012 16:42:49 +0000 (17:42 +0100)] 
server: Simplify some code now ENCAP is mandatory.

11 years agoserver: Remove code to send recursive QUITs/SQUITs for non-QS servers.
Jilles Tjoelker [Wed, 19 Dec 2012 14:06:49 +0000 (15:06 +0100)] 
server: Remove code to send recursive QUITs/SQUITs for non-QS servers.

Now that QS is required, this code can no longer be activated.

11 years agoserver: As per the TS6 spec, require QS and ENCAP capabilities.
Jilles Tjoelker [Wed, 19 Dec 2012 13:53:06 +0000 (14:53 +0100)] 
server: As per the TS6 spec, require QS and ENCAP capabilities.

11 years agoserver: Make sure CAP_CAP and CAP_TS6 are non-zero.
Jilles Tjoelker [Tue, 18 Dec 2012 16:03:59 +0000 (17:03 +0100)] 
server: Make sure CAP_CAP and CAP_TS6 are non-zero.

A zero CAP_CAP caused duplicate CAPAB to go undetected, allowing a
mismatch between what is sent out via ENCAP GCAP and what applies locally.

A zero CAP_TS6 allowed server connections without SID (with a valid
connect block).

11 years agoserver: Fix required capabilities check if there is more than one capability.
Jilles Tjoelker [Tue, 18 Dec 2012 15:37:21 +0000 (16:37 +0100)] 
server: Fix required capabilities check if there is more than one capability.

11 years agogenssl: use DH params length of 2048 to appease the weechat idiots
William Pitcock [Mon, 19 Nov 2012 21:12:30 +0000 (21:12 +0000)] 
genssl: use DH params length of 2048 to appease the weechat idiots

11 years agoextensions/m_roleplay: merge in darkmyst changes
William Pitcock [Sun, 4 Nov 2012 03:35:39 +0000 (03:35 +0000)] 
extensions/m_roleplay: merge in darkmyst changes

11 years agostarttls: Explicitly reject starttls if TLS is not configured or not compiled in.
Jilles Tjoelker [Sat, 3 Nov 2012 14:50:43 +0000 (15:50 +0100)] 
starttls: Explicitly reject starttls if TLS is not configured or not compiled in.

11 years agostarttls: Don't corrupt the FD hash.
Jilles Tjoelker [Fri, 2 Nov 2012 23:49:10 +0000 (00:49 +0100)] 
starttls: Don't corrupt the FD hash.

Altering localClient->F without updating the FD hash leaves the struct
Client in the FD hash indefinitely which causes a crash later if the
struct is reused for a remote client. It also prevents error messages
from ssld showing up on IRC properly.

11 years agoAdd module which restricts unauthenticated users from doing anything as channel op.
William Pitcock [Thu, 1 Nov 2012 06:48:08 +0000 (06:48 +0000)] 
Add module which restricts unauthenticated users from doing anything as channel op.

11 years agoFix a crash with testline, introduced with the "underlying ipv4" feature.
Jilles Tjoelker [Mon, 15 Oct 2012 00:08:22 +0000 (02:08 +0200)] 
Fix a crash with testline, introduced with the "underlying ipv4" feature.

11 years agonumeric: add 744 (ERR_TOPICLOCK) to list so we don't step on inspircd
William Pitcock [Sat, 13 Oct 2012 17:49:43 +0000 (17:49 +0000)] 
numeric: add 744 (ERR_TOPICLOCK) to list so we don't step on inspircd

11 years agores.c: Try other servers if errors or corrupt replies are encountered.
Keith Buck [Tue, 9 Oct 2012 05:52:07 +0000 (05:52 +0000)] 
res.c: Try other servers if errors or corrupt replies are encountered.

Currently, the resolver treats SERVFAIL, NOTIMP, and REFUSED queries the
same as NXDOMAIN, but this really should not be the case. Instead, if
the DNS server errors on our request or provides an invalid request, try
another server.

Also, count DNS server errors in addition to timeouts and avoid these
undesirable servers.

11 years agolibratbox/crypt: remove blowfish support since it has the stupid advertising clause
William Pitcock [Sat, 29 Sep 2012 22:28:04 +0000 (17:28 -0500)] 
libratbox/crypt: remove blowfish support since it has the stupid advertising clause

11 years agoreslib: remove advertising clause, which was dropped as a requirement by the copyrigh...
William Pitcock [Sat, 29 Sep 2012 22:08:40 +0000 (17:08 -0500)] 
reslib: remove advertising clause, which was dropped as a requirement by the copyright holder.
(See http://svnweb.freebsd.org/base/head/COPYRIGHT?view=co).
Closes #5.

11 years agohelp: Document whowas limit parameter.
Jilles Tjoelker [Fri, 28 Sep 2012 21:14:56 +0000 (23:14 +0200)] 
help: Document whowas limit parameter.

11 years agom_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specif...
William Pitcock [Sun, 23 Sep 2012 00:31:55 +0000 (19:31 -0500)] 
m_starttls: handle error condition with ERR_STARTTLS (691) numeric per tls-3.2 specification

11 years agom_starttls: new module implementing ircv3 tls-3.1 optional extension
William Pitcock [Sat, 22 Sep 2012 21:30:01 +0000 (16:30 -0500)] 
m_starttls: new module implementing ircv3 tls-3.1 optional extension

11 years agom_cap: add 'tls' core capability
William Pitcock [Sat, 22 Sep 2012 19:15:45 +0000 (14:15 -0500)] 
m_cap: add 'tls' core capability

11 years agoDefine RPL_STARTTLS.
William Pitcock [Sat, 22 Sep 2012 19:04:57 +0000 (14:04 -0500)] 
Define RPL_STARTTLS.

11 years agom_stats: apply same logic to anonymous /stats l as /stats p
William Pitcock [Wed, 19 Sep 2012 01:01:53 +0000 (20:01 -0500)] 
m_stats: apply same logic to anonymous /stats l as /stats p

11 years agom_stats: add optional constraint checking function pointer to stats_l_list().
William Pitcock [Mon, 17 Sep 2012 21:38:31 +0000 (16:38 -0500)] 
m_stats: add optional constraint checking function pointer to stats_l_list().

11 years agoGIT-Access: Our repos are on github now, so let's say so.
Kiyoshi Aman [Mon, 20 Aug 2012 10:25:21 +0000 (06:25 -0400)] 
GIT-Access: Our repos are on github now, so let's say so.

11 years agochm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.
Keith Buck [Tue, 31 Jul 2012 06:37:33 +0000 (06:37 +0000)] 
chm_nonotice: Ignore CTCP and send ERR_CANNOTSENDTOCHAN if a message is being blocked.

11 years agoMerge pull request #2 from TheChrisAM/patch-1
William Pitcock [Mon, 30 Jul 2012 17:00:49 +0000 (10:00 -0700)] 
Merge pull request #2 from TheChrisAM/patch-1

Adding auth_user documentation for auth {} blocks.

11 years agoreference.conf: Extend documentation for max_number in server classes.
Jilles Tjoelker [Sat, 28 Jul 2012 13:31:06 +0000 (15:31 +0200)] 
reference.conf: Extend documentation for max_number in server classes.

11 years agosigio: use siginfo_t instead of struct siginfo, per glibc commit r4efeffc1d5
William Pitcock [Wed, 25 Jul 2012 15:33:18 +0000 (10:33 -0500)] 
sigio: use siginfo_t instead of struct siginfo, per glibc commit r4efeffc1d5

12 years agotools/smoketest.sh: Remove DNSBL external dependency.
Jilles Tjoelker [Sat, 14 Jul 2012 12:51:55 +0000 (14:51 +0200)] 
tools/smoketest.sh: Remove DNSBL external dependency.

12 years agotools: Add a simple test script.
Jilles Tjoelker [Sat, 14 Jul 2012 11:50:55 +0000 (13:50 +0200)] 
tools: Add a simple test script.

It compiles and runs ircd, verifying if some aspects of PRIVMSG work.

12 years agoIn capability_get(), if a capability is not found, return 0 instead of all-ones.
Jilles Tjoelker [Tue, 3 Jul 2012 17:16:31 +0000 (19:16 +0200)] 
In capability_get(), if a capability is not found, return 0 instead of all-ones.

Returning all-ones will set all caps if an unknown cap name is passed.

12 years agoFix capability_index_list(), used e.g. in /stats ? capability output.
Jilles Tjoelker [Tue, 3 Jul 2012 17:15:25 +0000 (19:15 +0200)] 
Fix capability_index_list(), used e.g. in /stats ? capability output.

12 years agoAdd needed space between "TS6" or "SSL" and capabs from CAPAB in /stats ?.
Jilles Tjoelker [Tue, 3 Jul 2012 17:11:15 +0000 (19:11 +0200)] 
Add needed space between "TS6" or "SSL" and capabs from CAPAB in /stats ?.

12 years agochmode: Allow mode queries on mlocked modes.
Jilles Tjoelker [Mon, 18 Jun 2012 22:33:29 +0000 (00:33 +0200)] 
chmode: Allow mode queries on mlocked modes.

Check mlock at the same point where chanops are checked (except for
querying a +e/+I list) and abstract this check into a function.

In particular, /mode #channel f is now again allowed if +f is mlocked.

12 years agostats R: Make the CPU time display less ugly.
Jilles Tjoelker [Sun, 3 Jun 2012 22:49:59 +0000 (00:49 +0200)] 
stats R: Make the CPU time display less ugly.

12 years agoAdding auth_user documentation for auth {} blocks.
TheChrisAM [Fri, 1 Jun 2012 00:26:52 +0000 (21:26 -0300)] 
Adding auth_user documentation for auth {} blocks.

12 years agoIf umode +D or +g are oper-only, don't advertise them in 005.
Jilles Tjoelker [Sun, 27 May 2012 20:46:24 +0000 (22:46 +0200)] 
If umode +D or +g are oper-only, don't advertise them in 005.

12 years agoMerge pull request #1 from dwfreed/master
William Pitcock [Thu, 24 May 2012 13:11:45 +0000 (06:11 -0700)] 
Merge pull request #1 from dwfreed/master

Fix extensions/ip_cloaking* not correctly telling the net about your changed hostname

12 years agoextensions/ip_cloaking*: Fix a bug accidentally introduced in 29d224a1 where the...
Douglas Freed [Thu, 24 May 2012 11:06:20 +0000 (11:06 +0000)] 
extensions/ip_cloaking*: Fix a bug accidentally introduced in 29d224a1 where the cloaking module would change your cloak locally, but not correctly broadcast this to the network, and fail to tell you correctly in the RPL_HOSTHIDDEN reply

12 years agoMove marking of services entirely to m_services.c; mark all services when m_services...
Keith Buck [Mon, 21 May 2012 21:03:56 +0000 (21:03 +0000)] 
Move marking of services entirely to m_services.c; mark all services when m_services loads and unmark them when it unloads.

12 years agoAdd new conf_read_start and conf_read_end hooks.
Keith Buck [Mon, 21 May 2012 20:22:07 +0000 (20:22 +0000)] 
Add new conf_read_start and conf_read_end hooks.

12 years agoComplain to opers if a server that isn't a service tries to SU/RSFNC/NICKDELAY/SVSLOGIN.
Keith Buck [Mon, 21 May 2012 17:27:02 +0000 (17:27 +0000)] 
Complain to opers if a server that isn't a service tries to SU/RSFNC/NICKDELAY/SVSLOGIN.

12 years agoDisable timerfd/signalfd on openvz, it seems broken
Aaron Sethman [Sat, 19 May 2012 02:15:16 +0000 (21:15 -0500)] 
Disable timerfd/signalfd on openvz, it seems broken
(imported from libratbox r27395 by nenolod)

12 years agoFix null value for EUID account name in TS6 protocol document.
Jilles Tjoelker [Mon, 30 Apr 2012 16:32:04 +0000 (18:32 +0200)] 
Fix null value for EUID account name in TS6 protocol document.

12 years agolist: Strip colours from channel topics.
Jilles Tjoelker [Sat, 28 Apr 2012 22:44:33 +0000 (00:44 +0200)] 
list: Strip colours from channel topics.

This allows in-channel use of coloured topics (or via /topic out of
channel) but leaves channel listings clean.

12 years agoRerun autoconf.
Jilles Tjoelker [Sun, 22 Apr 2012 21:08:03 +0000 (23:08 +0200)] 
Rerun autoconf.

12 years agoBump version on master to 3.5.0-dev.
Jilles Tjoelker [Sun, 22 Apr 2012 21:03:46 +0000 (23:03 +0200)] 
Bump version on master to 3.5.0-dev.

12 years agorelease: Use git instead of hg for version number in tarballs.
Jilles Tjoelker [Sun, 22 Apr 2012 17:08:33 +0000 (19:08 +0200)] 
release: Use git instead of hg for version number in tarballs.

12 years agoRemove more gnutls references.
Jilles Tjoelker [Tue, 17 Apr 2012 22:38:44 +0000 (00:38 +0200)] 
Remove more gnutls references.

12 years agolibratbox: Run autoreconf.
Jilles Tjoelker [Tue, 17 Apr 2012 20:34:27 +0000 (22:34 +0200)] 
libratbox: Run autoreconf.

12 years agolibratbox: Remove broken gnutls support.
Jilles Tjoelker [Tue, 17 Apr 2012 20:34:11 +0000 (22:34 +0200)] 
libratbox: Remove broken gnutls support.

12 years agoextensions/roleplay: Fix "No such channel" message.
Jilles Tjoelker [Fri, 13 Apr 2012 23:11:40 +0000 (01:11 +0200)] 
extensions/roleplay: Fix "No such channel" message.

12 years agoextensions/roleplay: End floodgrace because this is sent to other users.
Jilles Tjoelker [Fri, 13 Apr 2012 23:07:43 +0000 (01:07 +0200)] 
extensions/roleplay: End floodgrace because this is sent to other users.

12 years agognutls: Fix certfp server link auth.
Keith Buck [Sat, 7 Apr 2012 21:51:31 +0000 (21:51 +0000)] 
gnutls: Fix certfp server link auth.

12 years agognutls: Fix ssld crash when executing a SSL connection to another server.
Keith Buck [Sat, 7 Apr 2012 17:40:22 +0000 (17:40 +0000)] 
gnutls: Fix ssld crash when executing a SSL connection to another server.

12 years agoMerge branch 'gnutls' of git://git.leptoquark.net/charybdis
Keith Buck [Sat, 7 Apr 2012 03:29:13 +0000 (03:29 +0000)] 
Merge branch 'gnutls' of git://git.leptoquark.net/charybdis

12 years agoCall the privmsg_channel hook for part messages too.
Keith Buck [Sat, 7 Apr 2012 03:03:07 +0000 (03:03 +0000)] 
Call the privmsg_channel hook for part messages too.

12 years agom_message: Remove some unused variables.
Keith Buck [Tue, 3 Apr 2012 21:51:09 +0000 (21:51 +0000)] 
m_message: Remove some unused variables.

12 years agolibratbox: use rb_listen(), not listen().
Elly Fong-Jones [Tue, 3 Apr 2012 05:19:07 +0000 (01:19 -0400)] 
libratbox: use rb_listen(), not listen().

Signed-off-by: Elly Fong-Jones <redacted>
12 years agoextensions/chm_nonotice: fix typo
William Pitcock [Mon, 2 Apr 2012 19:07:25 +0000 (14:07 -0500)] 
extensions/chm_nonotice: fix typo

12 years agoif 0 some things out
William Pitcock [Sun, 1 Apr 2012 05:09:18 +0000 (00:09 -0500)] 
if 0 some things out

12 years agoextensions/chm_nonotice: reject NOTICEs to channels mode
William Pitcock [Sun, 1 Apr 2012 03:56:14 +0000 (22:56 -0500)] 
extensions/chm_nonotice: reject NOTICEs to channels mode

Same thing as +T in unrealircd, inspircd and shadowircd.

12 years agoRemove MODE_NOCTCP from core, in favor of chm_noctcp.
William Pitcock [Sun, 1 Apr 2012 03:48:36 +0000 (22:48 -0500)] 
Remove MODE_NOCTCP from core, in favor of chm_noctcp.

12 years agoRemove MODE_NOCOLOR from core, replacing it with modules/chm_nocolour.so.
William Pitcock [Sun, 1 Apr 2012 03:26:45 +0000 (22:26 -0500)] 
Remove MODE_NOCOLOR from core, replacing it with modules/chm_nocolour.so.

12 years agoCheck for empty string after permutation hooks have run.
William Pitcock [Sun, 1 Apr 2012 03:18:15 +0000 (22:18 -0500)] 
Check for empty string after permutation hooks have run.

12 years agoAdd support for hookifying PRIVMSG/NOTICE.
William Pitcock [Sun, 1 Apr 2012 02:20:02 +0000 (21:20 -0500)] 
Add support for hookifying PRIVMSG/NOTICE.

This will allow us to modularize message processing, e.g. having new modules to manipulate
channel and private messages in new ways.

Yes: it can be used to intercept messages, but such modules are already out in the wild for
charybdis anyway -- so this doesn't really change anything there.

If you are changing the text, then it is your responsibility to provide a pointer to a new
buffer.  This buffer should be statically allocated and stored in your module's BSS segment.
We will not, and cannot, free your buffer in core, so dynamically allocated buffers will
cause a memory leak.

This will allow us to simplify m_message considerably, by moving channel mode logic out to
their own modules.