summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse.c b/src/parse.c
index b801193..66e5e72 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -100,7 +100,6 @@ struct MessageTree
static struct MessageTree msg_tree;
-static char *sender;
static char *para[MAXPARA + 2]; /* <prefix> + <params> + NULL */
static int cancel_clients(struct Client *, struct Client *, char *);
@@ -140,7 +139,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
* Copy the prefix to 'sender' assuming it terminates
* with SPACE (or NULL, which is an error, though).
*/
- sender = ++ch;
+ char *sender = ++ch;
if ((s = strchr(ch, ' ')) != NULL)
{