From 712cbb540c41e56115061be296f419e21111bedd Mon Sep 17 00:00:00 2001 From: adam- Date: Sun, 28 Jun 2009 18:49:07 +0000 Subject: Add ability for fantasy to be disabled for some commands and strip the channel name from them git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2341 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/cs_help.c | 1 + src/core/cs_list.c | 1 + 2 files changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/cs_help.c b/src/core/cs_help.c index 4d7011440..2cc334f65 100644 --- a/src/core/cs_help.c +++ b/src/core/cs_help.c @@ -21,6 +21,7 @@ class CommandCSHelp : public Command CommandCSHelp() : Command("HELP", 1, 1) { this->SetFlag(CFLAG_ALLOW_UNREGISTERED); + this->SetFlag(CFLAG_STRIP_CHANNEL); } CommandReturn Execute(User *u, std::vector ¶ms) diff --git a/src/core/cs_list.c b/src/core/cs_list.c index ef1aa4a49..793490755 100644 --- a/src/core/cs_list.c +++ b/src/core/cs_list.c @@ -21,6 +21,7 @@ class CommandCSList : public Command public: CommandCSList() : Command("LIST",1,2) { + this->SetFlag(CFLAG_STRIP_CHANNEL); } CommandReturn Execute(User *u, std::vector ¶ms) -- cgit