summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-05-12 23:38:53 +0200
committerAttila Molnar <attilamolnar@hush.com>2015-05-12 23:38:53 +0200
commitf757c2d75bc284211f3b53b2819b88becfd8632f (patch)
treed7fa3d78e47e934732584a082a72757f47b616db
parent6fe1f4e1136f2ab95a88e68af1894bf6002d03f4 (diff)
cmd_modules Don't show the memory addresses of Module objects to opers
-rw-r--r--src/coremods/core_info/cmd_modules.cpp8
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