]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix a GCC shadowing warning.
authorSadie Powell <sadie@witchery.services>
Thu, 16 Jan 2020 17:37:51 +0000 (17:37 +0000)
committerSadie Powell <sadie@witchery.services>
Thu, 16 Jan 2020 17:37:51 +0000 (17:37 +0000)
include/modules/ctctags.h

index 6b7f81a4c312ba5fee33ac8f7bc9792b4fdfb766..68b8bcfdc762b3699d89085a04277d66b0826372 100644 (file)
@@ -68,8 +68,8 @@ private:
                AddTags(Tags);
        }
 
-       TagMessage(const char* sourcestr, const char* targetstr, const ClientProtocol::TagMap& Tags, char status = 0)
-               : ClientProtocol::Message("TAGMSG", sourcestr)
+       TagMessage(const char* source, const char* targetstr, const ClientProtocol::TagMap& Tags, char status = 0)
+               : ClientProtocol::Message("TAGMSG", source)
        {
                PushTarget(targetstr, status);
                AddTags(Tags);