solanum/include
Ed Kellett 7b6410135b
m_modules: make modreload work like restart
/modrestart used to be implemented as a normal command and could crash
when used remotely because it would reload m_encap, which was on the
call stack at the time. This was fixed in 41390bfe5f. However,
/modreload has exactly the same problem, so I'm giving it the
same treatment.

Incidentally: This bug was first discovered in ircd-seven, where the
`/mod*` commands themselves live in the core, so m_encap was the only way
the crash could happen (and it didn't most of the time, because m_encap
would only be moved if you got unlucky). But `/mod*` are in modules in
charybdis, so /modrestart would have unloaded the code it was in the
middle of executing. With that in mind, I'm not sure how it ever
appeared to work.
2019-11-17 18:01:51 +00:00
..
inline strip_unprintable: clarify type conversion 2019-10-06 23:16:43 +01:00
authproc.h authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
bandbi.h Add bandb IRCd APIs. 2010-01-07 17:10:16 -06:00
cache.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
capability.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
certfp.h certfp: Move method name/prefix strings to a separate header file 2016-04-26 20:33:18 +01:00
channel.h channels: fix IsChannelName() to actually use IsChanPrefix(). 2016-09-16 14:02:41 -05:00
chmode.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
class.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
client.h m_webirc: respect ircv3's secure option 2019-10-20 18:17:34 +01:00
defaults.h Cleanup defaults.h config file. 2016-04-07 04:47:48 -05:00
dns.h Rename authd.[ch] on ircd side to authproc.[ch] to prevent shadowing. 2016-04-02 16:44:04 -05:00
hash.h hash.c: Save some more bytes 2016-03-27 06:29:10 -04:00
hook.h m_sasl: check if the agent is present after every client_exit 2018-08-12 12:50:43 +01:00
hostmask.h remove RB_IPV6 2017-08-20 12:54:46 +01:00
ircd.h ircd: functions that call exit(3) should be marked noreturn 2016-06-01 20:54:12 +00:00
ircd_defs.h gcc7 fixes: NICKLEN -> NAMELEN 2018-01-19 23:26:20 +00:00
ircd_getopt.h getopt: a function that calls exit(3) should be marked noreturn 2016-06-01 20:54:12 +00:00
ircd_linker.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
ircd_signal.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
listener.h Add basic SCTP listener support that binds to multiple addresses 2017-08-24 20:08:20 +01:00
logger.h logger: add idebug 2016-03-28 19:06:31 -05:00
m_info.h remove RB_IPV6 2017-08-20 12:54:46 +01:00
match.h match: allow the CharAttrs table to be modified at runtime 2016-09-16 13:09:44 -05:00
messages.h filter: send a numeric error for ACT_DROP 2019-10-06 19:24:30 +01:00
modules.h m_modules: make modreload work like restart 2019-11-17 18:01:51 +00:00
monitor.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
msg.h Partially update a comment 2016-04-06 07:28:30 -05:00
msgbuf.h ircd: send tags on every message 2017-08-06 16:21:29 +01:00
newconf.h config.h delenda est 2016-03-19 19:14:26 -05:00
numeric.h config.h delenda est 2016-03-19 19:14:26 -05:00
operhash.h Make struct operhash_entry private. 2010-03-01 01:24:00 +01:00
packet.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
parse.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
patchlevel.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
privilege.h Don't suggest putting values in an enum that are not in the enum. 2009-01-28 01:02:34 +01:00
ratelimit.h Add ratelimit for high-bandwidth commands. 2012-02-18 03:54:44 +00:00
reject.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
restart.h restart: functions that call exit(3) should be marked noreturn 2016-06-01 20:54:12 +00:00
s_assert.h make soft asserts better by allowing them to be used in expressions 2017-07-29 22:39:53 +01:00
s_conf.h Add extensions/drain 2019-09-14 21:13:11 +01:00
s_newconf.h Fix compiler warning for SeesOper 2019-09-15 10:00:56 +01:00
s_serv.h Revert "Implement the netsplit batch type." 2016-04-16 11:05:00 -05:00
s_stats.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
s_user.h config.h delenda est 2016-03-19 19:14:26 -05:00
scache.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
send.h ircd: send tags on every message 2017-08-06 16:21:29 +01:00
snomask.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
sslproc.h sslproc: use global ServerInfo configuration 2016-04-25 19:20:45 +01:00
stdinc.h stdinc: more cleanups 2016-03-20 01:19:07 -05:00
substitution.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
supported.h supported: add chantypes_update() 2016-09-16 13:49:02 -05:00
tgchange.h Remove s_assert definition from ircd_defs.h and add it to its own header. 2013-09-10 06:10:14 +00:00
whowas.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
wsproc.h ircd: integrate ircd side of wsockd support 2016-04-02 02:56:22 -05:00