summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 17:51:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-10 17:51:26 +0000
commit4aaf01aafa2d9656fcd6d26fbc32c1f2f2b2aeba (patch)
tree89cd32bce739317b3791702a2cd3a9eea2e2b158 /src/users.cpp
parent2c5490c4c578682a75574552155047d7664f44d9 (diff)
Tidyup and move ConvToStr to a publically accessible place
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3640 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 985ef8707..c7f74da0b 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -88,8 +88,6 @@ bool DoType(const char* tag, char** entries, void** values, int* types)
{
char* TypeName = (char*)values[0];
char* Classes = (char*)values[1];
- /*Config->ConfValue("type","name",j,TypeName,&Config->config_f);
- Config->ConfValue("type","classes",j,Classes,&Config->config_f);*/
opertypes[TypeName] = strdup(Classes);
log(DEBUG,"Read oper TYPE '%s' with classes '%s'",TypeName,Classes);
return true;
@@ -99,8 +97,6 @@ bool DoClass(const char* tag, char** entries, void** values, int* types)
{
char* ClassName = (char*)values[0];
char* CommandList = (char*)values[1];
- /*Config->ConfValue("class","name",k,ClassName,&Config->config_f);
- Config->ConfValue("class","commands",k,CommandList,&Config->config_f);*/
operclass[ClassName] = strdup(CommandList);
log(DEBUG,"Read oper CLASS '%s' with commands '%s'",ClassName,CommandList);
return true;
@@ -111,13 +107,6 @@ bool DoneClassesAndTypes(const char* tag)
return true;
}
-template<typename T> inline string ConvToStr(const T &in)
-{
- stringstream tmp;
- if (!(tmp << in)) return string();
- return tmp.str();
-}
-
userrec::userrec()
{
// the PROPER way to do it, AVOID bzero at *ALL* costs