diff options
| author | Adam <Adam@anope.org> | 2011-04-06 09:41:39 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-04-06 09:41:39 -0400 |
| commit | 711a570d241912d0e2ab1ff26c894f3abd379266 (patch) | |
| tree | 0d1fcd2eb083ab9e8509651a69674474d4e43730 /modules | |
| parent | cb9ccc443d703f0249929968f7df2183949095d8 (diff) | |
Run OnCheckAuthentication with the account name if there is one
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/core/ns_identify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/ns_identify.cpp b/modules/core/ns_identify.cpp index 529547dfb..f5f196f62 100644 --- a/modules/core/ns_identify.cpp +++ b/modules/core/ns_identify.cpp @@ -39,7 +39,7 @@ class CommandNSIdentify : public Command else { EventReturn MOD_RESULT; - FOREACH_RESULT(I_OnCheckAuthentication, OnCheckAuthentication(u, this, params, nick, pass)); + FOREACH_RESULT(I_OnCheckAuthentication, OnCheckAuthentication(u, this, params, na ? na->nc->display : nick, pass)); if (MOD_RESULT == EVENT_STOP) return MOD_CONT; |
