diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-19 11:45:47 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2014-02-19 11:45:47 +0000 |
commit | 850c0aac1152cfb1d243ae0d8c02f3916636f225 (patch) | |
tree | 5f02b89fad36b302222b33a030e9d2b8f225645e | |
parent | 1577f0dec611c9b19bc1a1ba511af56ccb9045e0 (diff) |
- conf.c:get_oper_name(): constification
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3010 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r-- | src/conf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |