diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-05-12 23:38:53 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-05-12 23:38:53 +0200 |
commit | f757c2d75bc284211f3b53b2819b88becfd8632f (patch) | |
tree | d7fa3d78e47e934732584a082a72757f47b616db /src | |
parent | 6fe1f4e1136f2ab95a88e68af1894bf6002d03f4 (diff) |
cmd_modules Don't show the memory addresses of Module objects to opers
Diffstat (limited to 'src')
-rw-r--r-- | src/coremods/core_info/cmd_modules.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/coremods/core_info/cmd_modules.cpp b/src/coremods/core_info/cmd_modules.cpp index cee370870..7f31beaf8 100644 --- a/src/coremods/core_info/cmd_modules.cpp +++ b/src/coremods/core_info/cmd_modules.cpp @@ -65,12 +65,12 @@ CmdResult CommandModules::Handle (const std::vector<std::string>& parameters, Us flags[pos] = '-'; #ifdef PURE_STATIC - user->SendText(":%s 702 %s :%p %s %s :%s", ServerInstance->Config->ServerName.c_str(), - user->nick.c_str(), (void*)m, m->ModuleSourceFile.c_str(), flags.c_str(), V.description.c_str()); + user->SendText(":%s 702 %s :%s %s :%s", ServerInstance->Config->ServerName.c_str(), + user->nick.c_str(), m->ModuleSourceFile.c_str(), flags.c_str(), V.description.c_str()); #else std::string srcrev = m->ModuleDLLManager->GetVersion(); - user->SendText(":%s 702 %s :%p %s %s :%s - %s", ServerInstance->Config->ServerName.c_str(), - user->nick.c_str(), (void*)m, m->ModuleSourceFile.c_str(), flags.c_str(), V.description.c_str(), srcrev.c_str()); + user->SendText(":%s 702 %s :%s %s :%s - %s", ServerInstance->Config->ServerName.c_str(), + user->nick.c_str(), m->ModuleSourceFile.c_str(), flags.c_str(), V.description.c_str(), srcrev.c_str()); #endif } else |