/[svn]/ircd-hybrid/branches/8.1.x/modules/m_admin.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.1.x/modules/m_admin.c

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

revision 2964 by michael, Tue Jan 21 17:47:28 2014 UTC revision 2965 by michael, Thu Jan 30 18:12:54 2014 UTC
# Line 41  Line 41 
41   *   *
42   * \param source_p Pointer to client to report to   * \param source_p Pointer to client to report to
43   */   */
44  static int  static void
45  do_admin(struct Client *source_p)  do_admin(struct Client *source_p)
46  {  {
47    const char *me_name = ID_or_name(&me, source_p);    const char *me_name = ID_or_name(&me, source_p);
# Line 64  do_admin(struct Client *source_p) Line 64  do_admin(struct Client *source_p)
64    if (AdminInfo.email != NULL)    if (AdminInfo.email != NULL)
65      sendto_one(source_p, form_str(RPL_ADMINEMAIL),      sendto_one(source_p, form_str(RPL_ADMINEMAIL),
66                 me_name, nick, AdminInfo.email);                 me_name, nick, AdminInfo.email);
   return 0;  
67  }  }
68    
69  /*! \brief NICK command handler (called by already registered,  /*! \brief NICK command handler (called by already registered,
# Line 101  m_admin(struct Client *client_p, struct Line 100  m_admin(struct Client *client_p, struct
100                      parc, parv) != HUNTED_ISME)                      parc, parv) != HUNTED_ISME)
101        return 0;        return 0;
102    
103    return do_admin(source_p);    do_admin(source_p);
104      return 0;
105  }  }
106    
107  /*! \brief ADMIN command handler (called by operators and  /*! \brief ADMIN command handler (called by operators and
# Line 126  ms_admin(struct Client *client_p, struct Line 126  ms_admin(struct Client *client_p, struct
126                    parc, parv) != HUNTED_ISME)                    parc, parv) != HUNTED_ISME)
127      return 0;      return 0;
128    
129    return do_admin(source_p);    do_admin(source_p);
130      return 0;
131  }  }
132    
133  static struct Message admin_msgtab =  static struct Message admin_msgtab =

Legend:
Removed from v.2964  
changed lines
  Added in v.2965

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