]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sha256.cpp
Skip module tags which don't have a module specified.
[user/henk/code/inspircd.git] / src / modules / m_sha256.cpp
index e3ca22a2b9a6c18aa718cc1727eed6304b7a083d..fe12ede0016f8456fa4c993717c0b2ca02219a37 100644 (file)
@@ -1,10 +1,14 @@
 /*
  * InspIRCd -- Internet Relay Chat Daemon
  *
+ *   Copyright (C) 2019 linuxdaemon <linuxdaemon.irc@gmail.com>
+ *   Copyright (C) 2013, 2017-2018 Sadie Powell <sadie@witchery.services>
+ *   Copyright (C) 2012 Robby <robby@chatbelgie.be>
+ *   Copyright (C) 2010 Craig Edwards <brain@inspircd.org>
+ *   Copyright (C) 2009 Uli Schlachter <psychon@inspircd.org>
  *   Copyright (C) 2009 Daniel De Graaf <danieldg@inspircd.org>
  *   Copyright (C) 2007-2008 Robin Burchell <robin+git@viroteck.net>
  *   Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
- *   Copyright (C) 2006 Craig Edwards <craigedwards@brainbox.cc>
  *
  * This file is part of InspIRCd.  InspIRCd is free software: you can
  * redistribute it and/or modify it under the terms of the GNU General Public
@@ -22,6 +26,9 @@
 /// $CompilerFlags: -Ivendor_directory("sha2")
 /// $CompilerFlags: require_compiler("GCC") -Wno-long-long
 
+#ifdef __GNUC__
+# pragma GCC diagnostic push
+#endif
 
 // Fix warnings about the use of `long long` on C++03.
 #if defined __clang__
 
 #include <sha2.c>
 
+#ifdef __GNUC__
+# pragma GCC diagnostic pop
+#endif
+
 class HashSHA256 : public HashProvider
 {
  public:
@@ -61,7 +72,7 @@ class ModuleSHA256 : public Module
 
        Version GetVersion() CXX11_OVERRIDE
        {
-               return Version("Implements SHA-256 hashing", VF_VENDOR);
+               return Version("Allows other modules to generate SHA-256 hashes.", VF_VENDOR);
        }
 };