SHA256
1
0
forked from pool/atheme
atheme/atheme-lockmodes.diff
Wolfgang Rosenauer 17ff074b29 Accepting request 76499 from home:jengelh:dev
- enable LDAP backend
- update to version 6.0.8
* inspircd: Support for owner, halfops and admin are now dynamically
  enabled by what modes exist instead of being enabled by what
  modules you have loaded in inspircd.
* support for InspIRCd 1.1, OfficeIRC and UltimateIRCd 3 has been
  removed.
* opensex is now the required database format. All flatfile will do
  is convert your flatfile database to opensex and exit.
* converted many modules that use external databases to using
  opensex.
- add Requires for pwdutils
- kill libelf-devel, not needed on Linux

OBS-URL: https://build.opensuse.org/request/show/76499
OBS-URL: https://build.opensuse.org/package/show/server:irc/atheme?expand=0&rev=30
2011-08-02 07:52:16 +00:00

24 lines
872 B
Diff

Add +k and +l channel modes to the default locks, so empty channels'
protection is properly restored across Services reboots.
Signed-off-By: Jan Engelhardt <jengelh@medozas.de>
---
modules/chanserv/register.c | 4 ----
1 file changed, 4 deletions(-)
Index: atheme-services-6.0.8/modules/chanserv/register.c
===================================================================
--- atheme-services-6.0.8.orig/modules/chanserv/register.c
+++ atheme-services-6.0.8/modules/chanserv/register.c
@@ -142,10 +142,6 @@ static void cs_cmd_register(sourceinfo_t
mc->registered = CURRTIME;
mc->used = CURRTIME;
mc->mlock_on |= (CMODE_NOEXT | CMODE_TOPIC);
- if (c->limit == 0)
- mc->mlock_off |= CMODE_LIMIT;
- if (c->key == NULL)
- mc->mlock_off |= CMODE_KEY;
mc->flags |= config_options.defcflags;
chanacs_add(mc, entity(si->smu), CA_INITIAL & ca_all, CURRTIME);