summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-27 22:34:18 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-27 22:34:18 +0000
commite30ca6c388269537295bccabd22aa5d716b9dc46 (patch)
tree4bb1d0be8ffd84da210e26ad7e144e8cdb312252 /src/inspircd.cpp
parentee0105631d06a2779599fad7fe9e967757794fe0 (diff)
Added nickname syncing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1972 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 5cf67bfbd..fa5e420c5 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -202,7 +202,8 @@ const char* FindServerNamePtr(std::string servername)
if (*a == servername)
return a->c_str();
}
- return "";
+ AddServerName(servername);
+ return FindServerNamePtr(servername);
}
void DeleteOper(userrec* user)