summaryrefslogtreecommitdiff
path: root/src/core/ns_logout.c
diff options
context:
space:
mode:
authorcyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-03 06:53:40 +0000
committercyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864>2009-04-03 06:53:40 +0000
commit821c6ac90b77fe9c4ffec3269a54461822673dba (patch)
tree3290b8c5870fecdc71b0dca1e3c0e49284f15c98 /src/core/ns_logout.c
parentaab6dad14f13e97acdc3b41051d93b9e6c037dc1 (diff)
Reintroduce sending login/logout account messages, they were added back in SVN r1944 but went poof with the command API change.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2247 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/ns_logout.c')
-rw-r--r--src/core/ns_logout.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ns_logout.c b/src/core/ns_logout.c
index 4a6be4eef..b9be711cc 100644
--- a/src/core/ns_logout.c
+++ b/src/core/ns_logout.c
@@ -76,6 +76,8 @@ class CommandNSLogout : public Command
if (u->nc->flags & NI_KILLPROTECT)
del_ns_timeout(na, TO_COLLIDE);
+ ircdproto->SendAccountLogout(u2, u2->nc);
+
u2->nc = NULL;
/* Send out an event */