aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
authorGravatar w00t2008-02-11 09:45:44 +0000
committerGravatar w00t2008-02-11 09:45:44 +0000
commit25c8c8ba0247236f660bbbbfc665ae735f88fc31 (patch)
tree18ac6d54a13f6265225ebf2fc0a590fc34478bb5 /src/modules/m_swhois.cpp
parentAdd -Wshadow to cflags, and fix a bunch of warnings that come with it. Add a ... (diff)
downloadinspircd++-25c8c8ba0247236f660bbbbfc665ae735f88fc31.tar.gz
inspircd++-25c8c8ba0247236f660bbbbfc665ae735f88fc31.tar.bz2
inspircd++-25c8c8ba0247236f660bbbbfc665ae735f88fc31.zip
More -Wshadow fixes.. not really finished yet
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8893 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r--src/modules/m_swhois.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 7247f579b..44acd1487 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -204,8 +204,8 @@ class ModuleSWhois : public Module
std::string* text;
if (!dest->GetExt("swhois", text))
{
- std::string* text = new std::string(extdata);
- dest->Extend("swhois",text);
+ std::string* text2 = new std::string(extdata);
+ dest->Extend("swhois",text2);
}
}
}