diff options
Diffstat (limited to 'src/core/cs_ban.c')
-rw-r--r-- | src/core/cs_ban.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/cs_ban.c b/src/core/cs_ban.c index d69b0540c..5032680a7 100644 --- a/src/core/cs_ban.c +++ b/src/core/cs_ban.c @@ -20,10 +20,9 @@ class CommandCSBan : public Command public: CommandCSBan() : Command("BAN", 2, 3) { - } - CommandReturn Execute(User *u, std::vector<std::string> ¶ms) + CommandReturn Execute(User *u, std::vector<ci::string> ¶ms) { const char *chan = params[0].c_str(); const char *target = params[1].c_str(); @@ -33,7 +32,6 @@ class CommandCSBan : public Command { params[2].resize(200); reason = params[2].c_str(); - } Channel *c = findchan(chan); @@ -122,7 +120,7 @@ class CommandCSUnban : public Command } - CommandReturn Execute(User *u, std::vector<std::string> ¶ms) + CommandReturn Execute(User *u, std::vector<ci::string> ¶ms) { const char *chan = params[0].c_str(); Channel *c; |