summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 05:41:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 05:41:03 +0000
commitb0a467e8d3064177e3ceaaa6c207a3e625d2125a (patch)
tree489182ac0cf4cf360f6060b5ab7c52c16571d780 /include/inspircd.h
parentea3dc510c16a9bd2c35b51eeeccad313badc03c7 (diff)
Highly optimized userrec saving 1.5k per user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1550 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 89ce61ae6..5afdc21fb 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -120,3 +120,8 @@ void AddOper(userrec* user);
void DeleteOper(userrec* user);
void handle_version(char **parameters, int pcnt, userrec *user);
+
+// userrec optimization stuff
+
+void AddServerName(std::string servername);
+const char* FindServerNamePtr(std::string servername);