24 lines
819 B
Diff
24 lines
819 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/modules/chanserv/register.c
|
||
|
===================================================================
|
||
|
--- atheme.orig/modules/chanserv/register.c
|
||
|
+++ atheme/modules/chanserv/register.c
|
||
|
@@ -129,10 +129,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, si->smu, CA_INITIAL & ca_all, CURRTIME);
|