summaryrefslogtreecommitdiff
path: root/modules/commands/cs_unban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_unban.cpp')
-rw-r--r--modules/commands/cs_unban.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/cs_unban.cpp b/modules/commands/cs_unban.cpp
index f5e2a6460..a658c65dd 100644
--- a/modules/commands/cs_unban.cpp
+++ b/modules/commands/cs_unban.cpp
@@ -27,13 +27,13 @@ class CommandCSUnban : public Command
if (!source.GetUser())
return;
- std::deque<ChannelInfo *> queue;
+ std::deque<ChanServ::Channel *> queue;
source.GetAccount()->GetChannelReferences(queue);
unsigned count = 0;
for (unsigned i = 0; i < queue.size(); ++i)
{
- ChannelInfo *ci = queue[i];
+ ChanServ::Channel *ci = queue[i];
if (!ci->c || !source.AccessFor(ci).HasPriv("UNBAN"))
continue;
@@ -48,7 +48,7 @@ class CommandCSUnban : public Command
return;
}
- ChannelInfo *ci = ChannelInfo::Find(params[0]);
+ ChanServ::Channel *ci = ChanServ::Find(params[0]);
if (ci == NULL)
{
source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());