summaryrefslogtreecommitdiff
path: root/src/base.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 16:51:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-07-10 16:51:19 +0000
commit9941a616cbba8ad5dec07bdf908a1d08d81e568e (patch)
treef8699db21a5e344e9d47da7aec7d8e646af3c4f2 /src/base.cpp
parent91436d31a4ab6657012743285a1e635073e8966f (diff)
If you ask me, it looks a hell of a lot tidier without forcing the cast.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4277 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/base.cpp')
-rw-r--r--src/base.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base.cpp b/src/base.cpp
index eb6ea900a..a7aa456f2 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -63,13 +63,13 @@ bool Extensible::Shrink(const std::string &key)
}
}
-char* Extensible::GetExt(const std::string &key)
+/*char* Extensible::GetExt(const std::string &key)
{
- /* This was calling ExtensibleStore::find() twice,
+ * This was calling ExtensibleStore::find() twice,
* once to see if there was a value, and again to
* get that value if it was there. Now we store
* the iterator so we only have to search for it once.
- */
+ *
ExtensibleStore::iterator iter = this->Extension_Items.find(key);
if(iter != this->Extension_Items.end())
@@ -80,7 +80,7 @@ char* Extensible::GetExt(const std::string &key)
{
return NULL;
}
-}
+}*/
void Extensible::GetExtList(std::deque<std::string> &list)
{