From 8de87c2a9b5f5e68caac1ca06b1021ed69cb3d6a Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 25 Aug 2008 20:35:51 +0000 Subject: Change module versions to use a string instead of fixed digits, and use propset ID to auto-set versions, so we don't have (essentially unused) module versions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10291 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_modules.cpp') diff --git a/src/commands/cmd_modules.cpp b/src/commands/cmd_modules.cpp index 463ea9047..d01bd365a 100644 --- a/src/commands/cmd_modules.cpp +++ b/src/commands/cmd_modules.cpp @@ -45,7 +45,7 @@ CmdResult CommandModules::Handle (const std::vector&, User *user) strlcpy(modulename,module_names[i].c_str(),256); if (IS_OPER(user)) { - user->WriteNumeric(702, "%s :0x%08lx %d.%d.%d.%d %s (%s)",user->nick.c_str(),(unsigned long)m,V.Major,V.Minor,V.Revision,V.Build,ServerConfig::CleanFilename(modulename),flagstate+2); + user->WriteNumeric(702, "%s :0x%08lx %s %s (%s)",user->nick.c_str(),(unsigned long)m,V.version.c_str(),ServerConfig::CleanFilename(modulename),flagstate+2); } else { -- cgit v1.3.1-10-gc9f91