solanum-vs-hackint-and-char.../modules
William Pitcock ca4c2a86ee 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.
2012-03-31 21:23:01 -05:00
..
core Add support for hookifying PRIVMSG/NOTICE. 2012-03-31 21:23:01 -05:00
.depend Run make depend. 2012-03-01 03:51:33 +00:00
.indent.pro [svn] - the new plan: 2007-01-24 22:40:21 -08:00
m_accept.c Remove some unused variables. 2009-03-01 01:53:40 +01:00
m_admin.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_away.c m_away: Add missing return value. 2012-03-25 02:47:39 +00:00
m_cap.c Add away-notify client capability. 2012-02-14 14:15:44 +00:00
m_capab.c Migrate capability negotiation code to new dynamic capability management API. 2012-02-04 01:47:46 -06:00
m_certfp.c tginfo/certfp ENCAP: Specify the minimum number of parameters instead of checking parc. 2012-03-25 17:04:21 +00:00
m_challenge.c m_challenge: fix use of undefined behaviour. 2011-02-22 12:00:45 -05:00
m_chghost.c Allow / in spoofed hosts 2009-04-20 08:37:13 -05:00
m_close.c libcharybdis includes gone. 2008-04-02 02:39:19 +04:00
m_cmessage.c CurrentTime -> rb_currenttime(); 2008-04-02 03:53:20 +04:00
m_connect.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_dline.c Remove double-quote restriction on dline, kline, resv, and xline reasons; remove colon restriction on xline reasons. 2011-12-30 17:29:58 +00:00
m_encap.c legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
m_etrace.c Stop changing \s to spaces in masktrace and testmask, 2009-05-07 23:58:32 +02:00
m_help.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_info.c Pace aways. 2012-02-18 16:32:57 +01:00
m_invite.c invite: Remove useless IsChannelName check. 2011-06-25 11:34:16 +02:00
m_ison.c irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
m_kline.c Remove double-quote restriction on dline, kline, resv, and xline reasons; remove colon restriction on xline reasons. 2011-12-30 17:29:58 +00:00
m_knock.c Port ircd-seven banfowards to charybdis. 2011-08-12 20:33:10 -04:00
m_links.c Fix /links buffer overflow. 2010-01-27 21:05:10 +01:00
m_list.c operspy list: Show '!' prefix for otherwise hidden channels rather than +s ones. 2011-05-24 00:30:45 +02:00
m_locops.c Remove some more references to parv[0] in comments. 2009-01-18 21:20:14 +01:00
m_lusers.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_map.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_monitor.c Use rb_snprintf() in various places. 2008-09-06 01:00:20 +02:00
m_motd.c ratelimit: Add rate-limiting to MOTD, WHO, and remote WHOIS. 2012-02-18 03:56:47 +00:00
m_names.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_oper.c Clarify ERR_NOOPERHOST and convert it to use sendto_one_numeric(). 2010-02-17 06:51:41 -06:00
m_operspy.c legacy irc sprintf gone 2008-04-20 09:12:09 +04:00
m_pass.c Fix memory leaks in PASS command, both in normal and repeated use. 2010-06-01 13:11:47 -04:00
m_ping.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_pong.c Use FLAGS_SENTUSER when checking whether to register when ping cookie is received. 2010-02-24 23:28:27 +01:00
m_post.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_privs.c Allow normal users to do PRIVS on themselves. 2012-02-06 23:15:03 +01:00
m_rehash.c Skip propagated bans in rehash txlines/tresvs. 2010-03-05 00:37:56 +01:00
m_restart.c irc_string.h -> match.h, irc_string.h; includes changed 2008-04-20 09:47:38 +04:00
m_resv.c Add option to immediately apply nick RESVs by FNC'ing. 2012-03-25 01:34:45 +00:00
m_sasl.c If the sasl mechanism is EXTERNAL, send the certfp in the initial S message. 2011-04-04 00:59:20 +02:00
m_scan.c SCAN UMODES: default list-max to 500, like a global WHO. 2010-01-01 22:55:25 +01:00
m_services.c Fix potential buffer-overflow from malformed RSFNC request. 2011-11-29 15:50:54 -06:00
m_set.c Reset check_splitmode_ev to NULL after removing it, 2008-06-29 01:37:11 +02:00
m_signon.c rsfnc/svslogin: Add server notices for kills. 2011-06-25 15:56:22 +02:00
m_snote.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_stats.c Remove unused variable cruft. 2012-03-25 02:37:41 +00:00
m_svinfo.c Disable autoconnect for a server with excessive TS delta. 2009-02-05 23:43:07 +01:00
m_tb.c Use full (:n!u@h) prefix for sending ETB from a user to clients. 2009-09-20 00:44:47 +02:00
m_testline.c Fix -Wformat errors found in ircd-ratbox. 2011-11-13 00:22:09 +01:00
m_testmask.c Stop changing \s to spaces in masktrace and testmask, 2009-05-07 23:58:32 +02:00
m_tginfo.c tginfo/certfp ENCAP: Specify the minimum number of parameters instead of checking parc. 2012-03-25 17:04:21 +00:00
m_time.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_topic.c Fix -Wformat errors found in ircd-ratbox. 2011-11-13 00:22:09 +01:00
m_trace.c Fix -Wformat errors found in ircd-ratbox. 2011-11-13 00:22:09 +01:00
m_unreject.c Reverting some changed related not to moving on libratbox3 but using ratbox3 source! 2008-04-02 19:37:50 +04:00
m_user.c Remove unused variable cruft. 2012-03-25 02:37:41 +00:00
m_userhost.c Revert all presence-related changes 2009-12-08 19:22:55 +00:00
m_users.c Fix -Wformat errors found in ircd-ratbox. 2011-11-13 00:22:09 +01:00
m_version.c branding: if CUSTOM_BRANDING is defined, display charybdis version in /info 2011-05-08 09:06:19 -05:00
m_wallops.c Update comments for parv[0] removal. 2009-01-18 18:22:43 +01:00
m_who.c ratelimit: Add rate-limiting to MOTD, WHO, and remote WHOIS. 2012-02-18 03:56:47 +00:00
m_whois.c ratelimit: Add rate-limiting to MOTD, WHO, and remote WHOIS. 2012-02-18 03:56:47 +00:00
m_whowas.c Show the services login name in WHOWAS. 2010-08-29 22:30:54 +02:00
m_xline.c Remove double-quote restriction on dline, kline, resv, and xline reasons; remove colon restriction on xline reasons. 2011-12-30 17:29:58 +00:00
Makefile.in target change: Propagate restricted addresses. 2012-03-18 01:18:57 +00:00
sno_routing.c start making this compile 2008-04-01 15:18:48 -05:00
static_modules.c.SH [svn] - the new plan: 2007-01-24 22:40:21 -08:00