mirror of
https://github.com/anope/anope.git
synced 2026-07-05 03:33:12 +02:00
Made channel descriptions optional
This commit is contained in:
@@ -60,7 +60,8 @@ class CommandCSInfo : public Command
|
||||
if (show_all && ci->successor)
|
||||
source.Reply(_(" Successor: %s"), ci->successor->display.c_str());
|
||||
|
||||
source.Reply(_(" Description: %s"), ci->desc.c_str());
|
||||
if (!ci->desc.empty())
|
||||
source.Reply(_(" Description: %s"), ci->desc.c_str());
|
||||
source.Reply(_(" Registered: %s"), do_strftime(ci->time_registered).c_str());
|
||||
source.Reply(_(" Last used: %s"), do_strftime(ci->last_used).c_str());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user