diff options
-rw-r--r-- | docs/conf/modules.conf.example | 4 | ||||
-rw-r--r-- | src/modules/m_showwhois.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index ffb5d2a02..ff7210001 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -1681,9 +1681,7 @@ #<module name="m_showwhois.so"> # # If you wish, you may also let users set this mode. Only opers with the -# users/auspex priv will see real hosts of people, though. This setting -# is not reloadable via /rehash, and will require /reloadmodule, as -# it directly affects the mode object itself. +# users/auspex priv will see real hosts of people, though. #<showwhois opersonly="yes" # # You may also set whether or not users should receive whois notices, should diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp index 96d8d90cf..9ae0c8d7a 100644 --- a/src/modules/m_showwhois.cpp +++ b/src/modules/m_showwhois.cpp @@ -82,7 +82,7 @@ class ModuleShowwhois : public Module { } - void init() CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { ConfigTag* tag = ServerInstance->Config->ConfValue("showwhois"); |