From 5faaf67f48ce53dd975a42bc708fe7dec13f5931 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Tue, 23 Jun 2015 21:06:25 +0100 Subject: [PATCH] Fix doxygen of CModule::GetNetwork() and CModule::GetClient() Thanks to BtbN for reporting this. --- include/znc/Modules.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/znc/Modules.h b/include/znc/Modules.h index 9eeb9ecc..5771c80d 100644 --- a/include/znc/Modules.h +++ b/include/znc/Modules.h @@ -1006,10 +1006,13 @@ public: * case this is the user pointer. */ CUser* GetUser() const { return m_pUser; } + /** @returns nullptr except when we are in a network-specific module hook in + * which case this is the network for which the hook is called. + */ + CIRCNetwork* GetNetwork() const { return m_pNetwork; } /** @returns nullptr except when we are in a client-specific module hook in * which case this is the client for which the hook is called. */ - CIRCNetwork* GetNetwork() const { return m_pNetwork; } CClient* GetClient() const { return m_pClient; } CSockManager* GetManager() const { return m_pManager; } // !Getters