summaryrefslogtreecommitdiff
path: root/modules/commands/cs_updown.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-09-07 23:44:15 -0400
committerAdam <Adam@anope.org>2012-09-07 23:44:15 -0400
commit7e3b5bed50b87d599fec25a018771ebce47f969f (patch)
tree4e74b53755ec94bc070a68017fa48e5317cb2327 /modules/commands/cs_updown.cpp
parentc9c477ff9d7e6f833fafac2ef058f82b89229f60 (diff)
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
Diffstat (limited to 'modules/commands/cs_updown.cpp')
-rw-r--r--modules/commands/cs_updown.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_updown.cpp b/modules/commands/cs_updown.cpp
index 56841f5a9..4d84ff5f5 100644
--- a/modules/commands/cs_updown.cpp
+++ b/modules/commands/cs_updown.cpp
@@ -32,7 +32,7 @@ class CommandCSUp : public Command
for (UChannelList::iterator it = u->chans.begin(); it != u->chans.end(); ++it)
{
Channel *c = (*it)->chan;
- chan_set_correct_modes(u, c, 1);
+ chan_set_correct_modes(u, c, 1, false);
}
else
{
@@ -44,7 +44,7 @@ class CommandCSUp : public Command
else if (!c->ci)
source.Reply(CHAN_X_NOT_REGISTERED, channel.c_str());
else
- chan_set_correct_modes(u, c, 1);
+ chan_set_correct_modes(u, c, 1, false);
}
}