summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_identify.c1
-rw-r--r--src/core/ns_logout.c2
-rw-r--r--src/core/ns_register.c2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ns_identify.c b/src/core/ns_identify.c
index 153d72fbf..d09be6a03 100644
--- a/src/core/ns_identify.c
+++ b/src/core/ns_identify.c
@@ -87,6 +87,7 @@ class CommandNSIdentify : public Command
else
common_svsmode(u, modes, "");
}
+ ircdproto->SendAccountLogin(u, u->nc);
send_event(EVENT_NICK_IDENTIFY, 1, u->nick);
alog("%s: %s!%s@%s identified for nick %s", s_NickServ, u->nick, u->GetIdent().c_str(), u->host, u->nick);
notice_lang(s_NickServ, u, NICK_IDENTIFY_SUCCEEDED);
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 */
diff --git a/src/core/ns_register.c b/src/core/ns_register.c
index 3048b96c7..203808ba9 100644
--- a/src/core/ns_register.c
+++ b/src/core/ns_register.c
@@ -85,6 +85,8 @@ class CommandNSConfirm : public Command
notice_lang(s_NickServ, u, NICK_REGISTERED, u->nick, na->nc->GetAccess(0).c_str());
else
notice_lang(s_NickServ, u, NICK_REGISTERED_NO_MASK, u->nick);
+
+ ircdproto->SendAccountLogin(u, u->nc);
send_event(EVENT_NICK_REGISTERED, 1, u->nick);
if (enc_decrypt(na->nc->pass, tmp_pass, PASSMAX - 1) == 1)