From 0ef5377a365385cbe94434251962cdde9bf81fdd Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 27 Apr 2013 17:00:10 +0200 Subject: [PATCH] Rename m_nokillservices.so to no_kill_services.so per the naming scheme. --- doc/example.conf | 2 +- doc/reference.conf | 4 ++-- extensions/Makefile.in | 2 +- extensions/{m_nokillservices.c => no_kill_services.c} | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) rename extensions/{m_nokillservices.c => no_kill_services.c} (85%) diff --git a/doc/example.conf b/doc/example.conf index 756c8a7f6..f7df45737 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -31,7 +31,7 @@ #loadmodule "extensions/sno_globaloper.so"; #loadmodule "extensions/sno_whois.so"; #loadmodule "extensions/override.so"; -#loadmodule "extensions/m_nokillservices.so"; +#loadmodule "extensions/no_kill_services.so"; /* * IP cloaking extensions: use ip_cloaking_4.0 diff --git a/doc/reference.conf b/doc/reference.conf index ae07abfe5..7e6389151 100755 --- a/doc/reference.conf +++ b/doc/reference.conf @@ -70,7 +70,7 @@ * Remote oper up notices -- sno_globaloper.so * /whois notifications (snomask +W) -- sno_whois.so * Oper-override (modehacking only) -- override.so - * Stop services kills -- m_nokillservices.so + * Stop services kills -- no_kill_services.so */ #loadmodule "extensions/chm_adminonly.so"; #loadmodule "extensions/chm_operonly.so"; @@ -98,7 +98,7 @@ #loadmodule "extensions/sno_globaloper.so"; #loadmodule "extensions/sno_whois.so"; #loadmodule "extensions/override.so"; -#loadmodule "extensions/m_nokillservices.so"; +#loadmodule "extensions/no_kill_services.so"; /* serverinfo {}: Contains information about the server. (OLD M:) */ serverinfo { diff --git a/extensions/Makefile.in b/extensions/Makefile.in index 0852978f4..9196b6f66 100644 --- a/extensions/Makefile.in +++ b/extensions/Makefile.in @@ -69,7 +69,6 @@ SRCS = \ m_findforwards.c \ m_identify.c \ m_mkpasswd.c \ - m_nokillservices.c \ m_ojoin.c \ m_okick.c \ m_omode.c \ @@ -78,6 +77,7 @@ SRCS = \ m_webirc.c \ m_remove.c \ m_roleplay.c \ + no_kill_services.c \ no_locops.c \ no_oper_invis.c \ spy_admin_notice.c \ diff --git a/extensions/m_nokillservices.c b/extensions/no_kill_services.c similarity index 85% rename from extensions/m_nokillservices.c rename to extensions/no_kill_services.c index 13f0c8e99..c1e6ad90d 100644 --- a/extensions/m_nokillservices.c +++ b/extensions/no_kill_services.c @@ -22,7 +22,7 @@ static void block_services_kill(void *data); -mapi_hfn_list_av1 m_nokillservices_hfnlist[] = { +mapi_hfn_list_av1 no_kill_services_hfnlist[] = { { "can_kill", (hookfn) block_services_kill }, { NULL, NULL } }; @@ -47,5 +47,5 @@ block_services_kill(void *vdata) } } -DECLARE_MODULE_AV1(m_nokillservices, NULL, NULL, NULL, NULL, - m_nokillservices_hfnlist, "Charybdis 3.4+"); +DECLARE_MODULE_AV1(no_kill_services, NULL, NULL, NULL, NULL, + no_kill_services_hfnlist, "Charybdis 3.4+");