summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-18 23:57:53 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-18 23:57:53 +0000
commit8fd3b911469ef8e65a36581c7b792d487192a5d1 (patch)
tree06e25e3a7fc9bdf5ade1d1c95fe5d7bd6ba00027
parenta7f0316d005b876462a8f43c80a75e2b6bedfc9c (diff)
Fix type-based oper blocks not storing their names
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12298 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/configreader.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 156168bbe..6057420c8 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -214,6 +214,7 @@ void ServerConfig::CrossCheckOperClassType()
OperInfo* ifo = new OperInfo;
oper_blocks[" " + name] = ifo;
+ ifo->name = name;
ifo->type_block = tag;
std::string classname;