summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp4
1 files changed, 0 insertions, 4 deletions
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)