summaryrefslogtreecommitdiff
path: root/src/core/cs_forbid.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-02 04:55:43 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-02 04:55:43 +0000
commit3617d7978899f830d952d9bac70ed14bb0cc0fd6 (patch)
treefa5fe5d8f8f3bd87f649e2467f60e1d87ba2a71c /src/core/cs_forbid.c
parent657e1deb590eaba38ea3e9a9fb353dc0e23c1a41 (diff)
Convert 'const char *' and 'char *' function arguments to 'const std::string &' instead, done in actions.c along with chain reactions in other files.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2723 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_forbid.c')
-rw-r--r--src/core/cs_forbid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/cs_forbid.c b/src/core/cs_forbid.c
index 9c1690fe2..ae298d8d3 100644
--- a/src/core/cs_forbid.c
+++ b/src/core/cs_forbid.c
@@ -70,7 +70,7 @@ class CommandCSForbid : public Command
struct c_userlist *cu, *nextu;
const char *av[3];
- /* Before banning everyone, it might be prudent to clear +e and +I lists..
+ /* Before banning everyone, it might be prudent to clear +e and +I lists..
* to prevent ppl from rejoining.. ~ Viper */
c->ClearExcepts();
c->ClearInvites();
@@ -95,7 +95,7 @@ class CommandCSForbid : public Command
if (ircd->chansqline)
{
- ircdproto->SendSQLine(ci->name, ((reason) ? reason : "Forbidden"));
+ ircdproto->SendSQLine(ci->name, reason ? reason : "Forbidden");
}
alog("%s: %s set FORBID for channel %s", Config.s_ChanServ, u->nick, ci->name);