diff options
author | Adam <Adam@anope.org> | 2012-10-09 05:22:02 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-09 05:22:02 -0400 |
commit | 8f5d786f0eaec17dd2cb60f3dfb434caabf48e92 (patch) | |
tree | 5bc42eaee77104af3169d321eae8730c5e13ee03 /include/account.h | |
parent | 1dacc648a0ddc20679b6242bc94edb9ae657a247 (diff) |
Cleanup ok if modules with pending identify requests are unloaded
Diffstat (limited to 'include/account.h')
-rw-r--r-- | include/account.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/account.h b/include/account.h index 7aecab43a..19b7729d3 100644 --- a/include/account.h +++ b/include/account.h @@ -308,6 +308,7 @@ class CoreExport NickCore : public Extensible, public Flags<NickCoreFlag, NI_END class IdentifyRequest { + Module *owner; Anope::string account; Anope::string password; @@ -318,7 +319,7 @@ class IdentifyRequest static std::set<IdentifyRequest *> requests; protected: - IdentifyRequest(const Anope::string &acc, const Anope::string &pass); + IdentifyRequest(Module *o, const Anope::string &acc, const Anope::string &pass); virtual ~IdentifyRequest(); public: |