/[svn]/ircd-hybrid/trunk/src/conf.c
ViewVC logotype

Diff of /ircd-hybrid/trunk/src/conf.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3008 by michael, Sat Jan 25 21:09:18 2014 UTC revision 3009 by michael, Wed Feb 19 11:45:36 2014 UTC
# Line 1403  oper_privs_as_string(const unsigned int Line 1403  oper_privs_as_string(const unsigned int
1403  const char *  const char *
1404  get_oper_name(const struct Client *client_p)  get_oper_name(const struct Client *client_p)
1405  {  {
1406    dlink_node *cnode = NULL;    const dlink_node *cnode = NULL;
1407    /* +5 for !,@,{,} and null */    /* +5 for !,@,{,} and null */
1408    static char buffer[NICKLEN + USERLEN + HOSTLEN + HOSTLEN + 5];    static char buffer[NICKLEN + USERLEN + HOSTLEN + HOSTLEN + 5];
1409    
# Line 1411  get_oper_name(const struct Client *clien Line 1411  get_oper_name(const struct Client *clien
1411    {    {
1412      if ((cnode = client_p->localClient->confs.head))      if ((cnode = client_p->localClient->confs.head))
1413      {      {
1414        struct MaskItem *conf = cnode->data;        const struct MaskItem *conf = cnode->data;
1415    
1416        if (IsConfOperator(conf))        if (IsConfOperator(conf))
1417        {        {

Legend:
Removed from v.3008  
changed lines
  Added in v.3009

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28