summaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index 2704e52..6f2a05e 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1796,7 +1796,6 @@ valid_wild_card_simple(const char *data)
int
valid_wild_card(struct Client *source_p, int warn, int count, ...)
{
- char *p;
char tmpch;
int nonwild = 0;
va_list args;
@@ -1817,7 +1816,7 @@ valid_wild_card(struct Client *source_p, int warn, int count, ...)
while (count--)
{
- p = va_arg(args, char *);
+ const char *p = va_arg(args, const char *);
if (p == NULL)
continue;