1
0
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:
Adam
2011-07-14 18:29:03 -04:00
parent f858164dee
commit 5bf7dee559
3 changed files with 20 additions and 11 deletions
+2 -1
View File
@@ -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());