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

Comparing ircd-hybrid/trunk/modules/m_eob.c (file contents):
Revision 1592 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1975 by michael, Wed May 8 18:51:08 2013 UTC

# Line 28 | Line 28
28   #include "send.h"
29   #include "parse.h"
30   #include "modules.h"
31 + #include "s_serv.h"
32  
33  
34   /*
# Line 40 | Line 41 | ms_eob(struct Client *client_p, struct C
41         int parc, char *parv[])
42   {
43    assert(IsServer(source_p));
43 –  assert(client_p == source_p);
44  
45 –  sendto_realops_flags(UMODE_ALL, L_ALL, "End of burst from %s (%u seconds)",
46 –                       source_p->name,
47 –                       (unsigned int)(CurrentTime - source_p->localClient->firsttime));
45    AddFlag(source_p, FLAGS_EOB);
46 +
47 +  sendto_server(client_p, CAP_TS6, NOCAPS,
48 +                ":%s EOB", ID(source_p));
49 +  sendto_server(client_p, NOCAPS, CAP_TS6,
50 +                ":%s EOB", source_p->name);
51   }
52  
53   static struct Message eob_msgtab = {

Diff Legend

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