mirror of
https://github.com/anope/anope.git
synced 2026-07-06 21:43:13 +02:00
cs_help, cs_identify, cs_info, cs_invite audited.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2019 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -48,8 +48,8 @@ class CommandCSInfo : public Command
|
||||
|
||||
CommandReturn Execute(User *u, std::vector<std::string> ¶ms)
|
||||
{
|
||||
char *chan = strtok(NULL, " ");
|
||||
char *param = strtok(NULL, " ");
|
||||
const char *chan = params[0].c_str();
|
||||
const char *param = params.size() > 1 ? params[1].c_str() : NULL;
|
||||
ChannelInfo *ci;
|
||||
char buf[BUFSIZE];
|
||||
struct tm *tm;
|
||||
|
||||
@@ -65,6 +65,7 @@ class CommandCSInvite : public Command
|
||||
}
|
||||
|
||||
ircdproto->SendInvite(whosends(ci), chan, u->nick);
|
||||
// XXX: maybe send a message about it succeeding.
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user