summaryrefslogtreecommitdiff
path: root/modules/commands/cs_clone.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-27 16:52:07 -0400
committerAdam <Adam@anope.org>2011-08-27 16:52:07 -0400
commitd07a69278db2b140fdfd839819f2e3baec5218cd (patch)
treee9bede8dfe696016cb22699db9885c398efc5631 /modules/commands/cs_clone.cpp
parentbb52530eb293e0bf8b1729af8636e363a4d8f535 (diff)
Fixed /cs clone to set botmodes on the botserv bot when cloning channels
Diffstat (limited to 'modules/commands/cs_clone.cpp')
-rw-r--r--modules/commands/cs_clone.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_clone.cpp b/modules/commands/cs_clone.cpp
index b07c61923..dff50f9ce 100644
--- a/modules/commands/cs_clone.cpp
+++ b/modules/commands/cs_clone.cpp
@@ -93,7 +93,7 @@ public:
target_ci->c->SetMode(NULL, CMODE_PERM);
if (target_ci->bi && target_ci->c->FindUser(target_ci->bi) == NULL)
- target_ci->bi->Join(target_ci->c);
+ target_ci->bi->Join(target_ci->c, &Config->BotModeList);
}
if (target_ci->c && !target_ci->c->topic.empty())