mirror of
https://github.com/anope/anope.git
synced 2026-07-03 11:13:13 +02:00
Removed a lot of unnecessary .c_str() calls in the find* functions
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ class CommandBSAct : public Command
|
||||
|
||||
CommandReturn Execute(User *u, const std::vector<ci::string> ¶ms)
|
||||
{
|
||||
ChannelInfo *ci = cs_findchan(params[0].c_str());
|
||||
ChannelInfo *ci = cs_findchan(params[0]);
|
||||
ci::string message = params[1];
|
||||
|
||||
if (!check_access(u, ci, CA_SAY))
|
||||
|
||||
Reference in New Issue
Block a user