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

Comparing ircd-hybrid/trunk/modules/m_away.c (file contents):
Revision 3156 by michael, Fri Mar 14 19:57:38 2014 UTC vs.
Revision 3186 by michael, Thu Mar 20 18:09:34 2014 UTC

# Line 56 | Line 56 | m_away(struct Client *source_p, int parc
56      {
57        source_p->away[0] = '\0';
58        /* we now send this only if they were away before --is */
59 <      sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", ID(source_p));
59 >      sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", source_p->id);
60        sendto_common_channels_local(source_p, 1, CAP_AWAY_NOTIFY,
61                                     ":%s!%s@%s AWAY",
62                                     source_p->name, source_p->username,
# Line 86 | Line 86 | m_away(struct Client *source_p, int parc
86                                 source_p->name, source_p->username,
87                                 source_p->host, source_p->away);
88    sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY :%s",
89 <                ID(source_p), source_p->away);
89 >                source_p->id, source_p->away);
90    return 0;
91   }
92  
# Line 100 | Line 100 | ms_away(struct Client *source_p, int par
100      {
101        source_p->away[0] = '\0';
102        /* we now send this only if they were away before --is */
103 <      sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", ID(source_p));
103 >      sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY", source_p->id);
104        sendto_common_channels_local(source_p, 1, CAP_AWAY_NOTIFY,
105                                     ":%s!%s@%s AWAY",
106                                     source_p->name, source_p->username,
# Line 120 | Line 120 | ms_away(struct Client *source_p, int par
120                                 source_p->name, source_p->username,
121                                 source_p->host, source_p->away);
122    sendto_server(source_p, NOCAPS, NOCAPS, ":%s AWAY :%s",
123 <                ID(source_p), source_p->away);
123 >                source_p->id, source_p->away);
124    return 0;
125   }
126  

Diff Legend

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