From d4f7db122d2e7e9c6d75e4124e530ef902aa84d6 Mon Sep 17 00:00:00 2001 From: Daniel Oaks Date: Mon, 6 Jan 2014 00:45:39 +1000 Subject: Add the channel name to reply of cs-status, useful for applications --- modules/commands/cs_status.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/commands/cs_status.cpp') diff --git a/modules/commands/cs_status.cpp b/modules/commands/cs_status.cpp index 118c89014..2ecaf8e9f 100644 --- a/modules/commands/cs_status.cpp +++ b/modules/commands/cs_status.cpp @@ -50,7 +50,7 @@ public: if (ag.super_admin) source.Reply(_("\002%s\002 is a super administrator."), nick.c_str()); else if (ag.founder) - source.Reply(_("\002%s\002 is the channel founder."), nick.c_str()); + source.Reply(_("\002%s\002 is the founder of \002%s\002."), nick.c_str(), ci->name.c_str()); else if (ag.empty()) source.Reply(_("\002%s\002 has no access on \002%s\002."), nick.c_str(), ci->name.c_str()); else @@ -72,13 +72,13 @@ public: if (autokick->nc) { if (na && *autokick->nc == na->nc) - source.Reply(_("\002%s\002 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 of \002%s\002 (%s)."), na->nc->display.c_str(), ci->name.c_str(), autokick->reason.c_str()); } else if (u != NULL) { Entry akick_mask("", autokick->mask); if (akick_mask.Matches(u)) - source.Reply(_("\002%s\002 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 on \002%s\002 (%s)."), u->nick.c_str(), autokick->mask.c_str(), ci->name.c_str(), autokick->reason.c_str()); } } } -- cgit