summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf.c b/src/conf.c
index 4a8dbc0..13f380c 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -1403,7 +1403,7 @@ oper_privs_as_string(const unsigned int port)
const char *
get_oper_name(const struct Client *client_p)
{
- dlink_node *cnode = NULL;
+ const dlink_node *cnode = NULL;
/* +5 for !,@,{,} and null */
static char buffer[NICKLEN + USERLEN + HOSTLEN + HOSTLEN + 5];
@@ -1411,7 +1411,7 @@ get_oper_name(const struct Client *client_p)
{
if ((cnode = client_p->localClient->confs.head))
{
- struct MaskItem *conf = cnode->data;
+ const struct MaskItem *conf = cnode->data;
if (IsConfOperator(conf))
{