summaryrefslogtreecommitdiff
path: root/modules/commands/cs_status.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_status.cpp')
-rw-r--r--modules/commands/cs_status.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/modules/commands/cs_status.cpp b/modules/commands/cs_status.cpp
index 4d609eb8d..1d1aa619c 100644
--- a/modules/commands/cs_status.cpp
+++ b/modules/commands/cs_status.cpp
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
- * (C) 2003-2012 Anope Team
+ * (C) 2003-2013 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -50,20 +50,20 @@ public:
}
if (ag.super_admin)
- source.Reply(_("\2%s\2 is a super administrator."), nick.c_str());
+ source.Reply(_("\002%s\002 is a super administrator."), nick.c_str());
else if (ag.founder)
- source.Reply(_("\2%s\2 is the channel founder."), nick.c_str());
+ source.Reply(_("\002%s\002 is the channel founder."), nick.c_str());
else if (ag.empty())
- source.Reply(_("\2%s\2 has no access on \2%s\2."), nick.c_str(), ci->name.c_str());
+ source.Reply(_("\002%s\002 has no access on \002%s\002."), nick.c_str(), ci->name.c_str());
else
{
- source.Reply(_("Access for \2%s\2 on \2%s\2"), nick.c_str(), ci->name.c_str());
+ source.Reply(_("Access for \002%s\002 on \002%s\002:"), nick.c_str(), ci->name.c_str());
for (unsigned i = 0; i < ag.size(); ++i)
{
ChanAccess *acc = ag[i];
- source.Reply(_("\2%s\2 matches access entry %s, which has privilege %s."), nick.c_str(), acc->mask.c_str(), acc->AccessSerialize().c_str());
+ source.Reply(_("\002%s\002 matches access entry %s, which has privilege %s."), nick.c_str(), acc->mask.c_str(), acc->AccessSerialize().c_str());
}
}
@@ -71,16 +71,16 @@ public:
{
AutoKick *autokick = ci->GetAkick(j);
- if (autokick->HasFlag(AK_ISNICK))
+ if (autokick->nc)
{
if (na && *autokick->nc == na->nc)
- source.Reply(_("\2%s\2 is on the auto kick list (%s)."), na->nc->display.c_str(), autokick->reason.c_str());
+ source.Reply(_("\002%s\002 is on the auto kick list (%s)."), na->nc->display.c_str(), autokick->reason.c_str());
}
else if (u != NULL)
{
- Entry akick_mask(CMODE_BEGIN, autokick->mask);
+ Entry akick_mask("", autokick->mask);
if (akick_mask.Matches(u))
- source.Reply(_("\2%s\2 matches auto kick entry %s (%s)."), u->nick.c_str(), autokick->mask.c_str(), autokick->reason.c_str());
+ source.Reply(_("\002%s\002 matches auto kick entry %s (%s)."), u->nick.c_str(), autokick->mask.c_str(), autokick->reason.c_str());
}
}
}