strncasecmp(parv[3], "!all", 4) == 0)
{
/* XXX command_parse will alter parv[3]. */
- command_parse(parv[3], msg, channel, source_p);
+ command_parse(parv[3], channel, source_p);
}
}
*
* Parameters:
* command: Command sent (including parameters)
- * msg: Original PRIVMSG containing the command
* target: Channel command was sent to (we only got this far if there was only one recipient)
* source_p: Operator (hopefully) that sent the command.
*
*/
void
-command_parse(char *command, char *msg, const struct ChannelConf *target,
+command_parse(char *command, const struct ChannelConf *target,
const struct UserInfo *source_p)
{
char *param; /* Parsed parameters */
extern void command_init(void);
extern void command_userhost(const char *);
extern void command_timer(void);
-extern void command_parse(char *, char *, const struct ChannelConf *, const struct UserInfo *);
+extern void command_parse(char *, const struct ChannelConf *, const struct UserInfo *);
#endif