ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/modules/m_stats.c
(Generate patch)

Comparing ircd-hybrid-7.2/modules/m_stats.c (file contents):
Revision 958 by michael, Tue Jul 28 21:36:41 2009 UTC vs.
Revision 988 by michael, Sun Aug 16 14:00:36 2009 UTC

# Line 805 | Line 805 | stats_events(struct Client *source_p)
805   static void
806   stats_pending_glines(struct Client *source_p)
807   {
808 – #ifdef GLINE_VOTING
808    const dlink_node *dn_ptr = NULL;
809 <  const struct gp_ptr *glp_ptr = NULL;
809 >  const struct gline_pending *glp_ptr = NULL;
810    char timebuffer[MAX_DATE_STRING] = { '\0' };
811    struct tm *tmptr = NULL;
812  
# Line 835 | Line 834 | stats_pending_glines(struct Client *sour
834                 glp_ptr->vote_1.oper_server, timebuffer,
835                 glp_ptr->user, glp_ptr->host, glp_ptr->vote_1.reason);
836  
837 <    if (glp_ptr->oper_nick2[0] != '\0')
837 >    if (glp_ptr->vote_2.oper_nick[0] != '\0')
838      {
839        tmptr = localtime(&glp_ptr->vote_2.time_request);
840        strftime(timebuffer, MAX_DATE_STRING, "%Y/%m/%d %H:%M:%S", tmptr);
# Line 868 | Line 867 | stats_pending_glines(struct Client *sour
867                 glp_ptr->vote_1.oper_server, timebuffer,
868                 glp_ptr->user, glp_ptr->host, glp_ptr->vote_1.reason);
869  
870 <    if (glp_ptr->oper_nick2[0] != '\0')
870 >    if (glp_ptr->vote_2.oper_nick[0] != '\0')
871      {
872        tmptr = localtime(&glp_ptr->vote_2.time_request);
873        strftime(timebuffer, MAX_DATE_STRING, "%Y/%m/%d %H:%M:%S", tmptr);
# Line 884 | Line 883 | stats_pending_glines(struct Client *sour
883  
884    sendto_one(source_p, ":%s NOTICE %s :End of Pending UNG-lines",
885               from, to);
887 – #else
888 –  sendto_one(source_p, ":%s NOTICE %s :This server does not support G-Line voting",
889 –             from, to);
890 – #endif /* GLINE VOTING */
886   }
887  
888   /* stats_glines()

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)