Anope Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001641Anope Stable (2.0.x series)[All Projects] Generalpublic2015-03-08 00:252015-03-12 14:16
ReporterNoMiaus 
Assigned ToAdam 
PriorityhighSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0001641: CLONE resets some settings instead of copy them
DescriptionHello, I'm have been testing the CLONE command and there is a big bug... Most of settings aren't copied, they are just reset. For example, all options that are showed in CS INFO such as persist, keep modes, restricted... aren't copied, CLONE sets the default options that are set in ChanServ.conf. It also happens with the ban type, mode lock or levels. In addition, email, url and badwords aren't copied too.
Steps To Reproduce/msg ChanServ CLONE #Channel1 #Channel2
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006713)
Adam (administrator)
2015-03-12 14:16

This actually was intentional for some resaon, though the help said otherwise, so I've adjusted the behavior in 78bff86dab32dc484164e5da8a535b3ec24c5c03.
(0006711)
Yoerger (developer)
2015-03-11 17:10
edited on: 2015-03-11 17:11

Just tested this on my test network. I can confirm this. Using the ChanServ CLONE command does copy some settings as it did copy the channel description. However it did not copy other settings such as the channel SET options or the locked channel modes. Standard ChanServ configuration file.

As a side note, using the COPY command did change the registered field of the channel so that it appears as though it was registered on the first channel's registration date. I'm not sure if that's intentional.

First Test Channel with various settings:

[10:58] -ChanServ- Information for channel #test:
[10:58] -ChanServ- Founder: Yoerger
[10:58] -ChanServ- Description: Test Channel
[10:58] -ChanServ- Registered: Mar 04 21:26:41 2015 MST (6 days, 10 hours, 32 minutes ago)
[10:58] -ChanServ- Last used: Mar 11 07:58:43 2015 MST (now)
[10:58] -ChanServ- Ban type: 2
[10:58] -ChanServ- Options: Private, Peace, Restricted access, Security, Secure founder, Signed kicks, No expire, Topic retention
[10:58] -ChanServ- Mode lock: +smnt

New test channel before using CLONE.

[10:58] -ChanServ- Information for channel #test2:
[10:58] -ChanServ- Founder: Yoerger
[10:58] -ChanServ- Registered: Mar 11 07:58:39 2015 MST (39 seconds ago)
[10:58] -ChanServ- Last used: Mar 11 07:59:18 2015 MST (now)
[10:58] -ChanServ- Ban type: 2
[10:58] -ChanServ- Mode lock: +nt
[10:58] -ChanServ- Options: Peace, Security, Secure founder, Signed kicks, Topic retention

* -> /msg ChanServ CLONE #test #test2

#test2 After using /cs CLONE

[11:01] -ChanServ- Information for channel #test2:
[11:01] -ChanServ- Founder: Yoerger
[11:01] -ChanServ- Description: Test Channel
[11:01] -ChanServ- Registered: Mar 04 21:26:41 2015 MST (6 days, 10 hours, 35 minutes ago)
[11:01] -ChanServ- Last used: Mar 11 08:01:53 2015 MST (now)
[11:01] -ChanServ- Ban type: 2
[11:01] -ChanServ- Mode lock: +nt
[11:01] -ChanServ- Options: Peace, Security, Secure founder, Signed kicks, Topic retention


- Issue History
Date Modified Username Field Change
2015-03-08 00:25 NoMiaus New Issue
2015-03-11 17:10 Yoerger Note Added: 0006711
2015-03-11 17:11 Yoerger Note Edited: 0006711 View Revisions
2015-03-11 18:41 Yoerger Severity feature => minor
2015-03-12 14:16 Adam Note Added: 0006713
2015-03-12 14:16 Adam Status new => resolved
2015-03-12 14:16 Adam Resolution open => fixed
2015-03-12 14:16 Adam Assigned To => Adam


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker