summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-09-17 20:35:46 -0400
committerAdam <Adam@anope.org>2015-09-17 20:35:46 -0400
commit5692abb316647e4780e91c82bfe09007efd50243 (patch)
treeb964ba71004b643f18f37567ad40aa470b4cb972
parent2e65bd40123750002e1fbdb85802351152257df3 (diff)
Don't prevent channel destruction because persist is set. Perm mode/a bot should be assigned anyway which will prevent it. Fixes deleting bots out of perm channels causing desyncs
-rw-r--r--modules/commands/cs_set.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 84541a2a9..663aa1b37 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -1297,13 +1297,6 @@ class CSSet : public Module
return EVENT_CONTINUE;
}
- EventReturn OnCheckDelete(Channel *c) anope_override
- {
- if (c->ci && persist.HasExt(c->ci))
- return EVENT_STOP;
- return EVENT_CONTINUE;
- }
-
void OnJoinChannel(User *u, Channel *c) anope_override
{
if (persist_lower_ts && c->ci && persist.HasExt(c->ci) && c->creation_time > c->ci->time_registered)