From 6a0e4418f4c41dfb687de80773b4e4d45dc2e12b Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 20 Mar 2013 11:03:02 -0500 Subject: Check that channels still exist before nulling their ci pointer in channelinfos destructor Change the persist setting on a channel to mean only that it is being enforced ircd-side --- modules/commands/cs_set.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/commands/cs_set.cpp') diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp index 730f31deb..97948b0a4 100644 --- a/modules/commands/cs_set.cpp +++ b/modules/commands/cs_set.cpp @@ -540,8 +540,6 @@ class CommandCSSetPersist : public Command if (!ci->HasExt("PERSIST")) { ci->ExtendMetadata("PERSIST"); - if (ci->c) - ci->c->Extend("PERSIST"); /* Channel doesn't exist, create it */ if (!ci->c) @@ -583,8 +581,6 @@ class CommandCSSetPersist : public Command if (ci->HasExt("PERSIST")) { ci->Shrink("PERSIST"); - if (ci->c) - ci->c->Shrink("PERSIST"); /* Unset perm mode */ if (cm) -- cgit