summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-08 18:31:11 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-05-08 18:31:11 +0000
commit789887821b6734617d086433c5d874e77b8a374d (patch)
treee3b3de1e23662e8146b09d04a624870017479995 /modules
parentb5a2c7f70fbbe1e776ac0c9c4cbc0411bc5c6633 (diff)
- EOB is now send to all servers globally
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@1970 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_eob.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/modules/m_eob.c b/modules/m_eob.c
index bf3bc14..4e531d3 100644
--- a/modules/m_eob.c
+++ b/modules/m_eob.c
@@ -28,6 +28,7 @@
#include "send.h"
#include "parse.h"
#include "modules.h"
+#include "s_serv.h"
/*
@@ -42,11 +43,12 @@ ms_eob(struct Client *client_p, struct Client *source_p,
assert(IsServer(source_p));
assert(client_p == source_p);
- sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
- "End of burst from %s (%u seconds)",
- source_p->name,
- (unsigned int)(CurrentTime - source_p->localClient->firsttime));
AddFlag(source_p, FLAGS_EOB);
+
+ sendto_server(client_p, CAP_TS6, NOCAPS,
+ ":%s EOB", ID(source_p));
+ sendto_server(client_p, NOCAPS, CAP_TS6,
+ ":%s EOB", source_p->name);
}
static struct Message eob_msgtab = {