diff options
author | Attila Molnar <attilamolnar@hush.com> | 2013-12-19 17:02:41 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2013-12-19 17:02:41 +0100 |
commit | 57d02ca02e441971bf27fae2c2ba5302c60e43c9 (patch) | |
tree | c95dc2dbd07e21d5d41ba4a1bf8c566beb143cf5 | |
parent | 7bf233bf0015ab5e4c07ef8db7711154736d2355 (diff) |
m_showwhois Update settings on rehash
-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"); |