- command_parse(): removed 'msg' parameter. We actually only need this for
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sun, 11 Jan 2015 17:16:07 +0000 (17:16 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sun, 11 Jan 2015 17:16:07 +0000 (17:16 +0000)
  m_notice() as proof for reporting insecure proxies to a dnsbl provider.

git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5355 82007160-df01-0410-b94d-b575c5fd34c7

src/irc.c
src/opercmd.c
src/opercmd.h

index 0ba32470d998600020358b8c4fdf81d6676b8ff7..05ec7637f011837b8fca96893051c73c1ec68a64 100644 (file)
--- a/src/irc.c
+++ b/src/irc.c
@@ -813,7 +813,7 @@ m_privmsg(char *parv[], unsigned int parc, char *msg, const struct UserInfo *sou
       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);
   }
 }
 
index 38c5919c1b2abb7e5452de84bb3eb71cff5d3bd4..2a11db95f1c88e7c22564d1936596b420176b877 100644 (file)
@@ -124,13 +124,12 @@ command_timer(void)
  *
  * 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 */
index e73b0197cdd494a44bb3089cc832a778ea287d0e..5c2097560383ad4da24917f65b6e6210cfe9ae8a 100644 (file)
@@ -59,5 +59,5 @@ struct Command
 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