diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-22 02:26:54 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-22 02:26:54 +0000 |
commit | 350d6db395f1d681af441c89090a5189c15f751e (patch) | |
tree | 078f92be1b7cfe09d1e263af1c28eeeb06714042 /src/inspircd.cpp | |
parent | 5097707f6003a4a4e77b246148bbcbe67c767d6c (diff) |
Changed revision id's to std::string
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1472 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 5862400ce..ef9835fd4 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -188,7 +188,7 @@ void DeleteOper(userrec* user) } } -long GetRevision() +std::string GetRevision() { char Revision[] = "$Revision$"; char *s1 = Revision; @@ -197,7 +197,7 @@ long GetRevision() s1 = savept; v2 = strtok_r(s1," ",&savept); s1 = savept; - return (long)(atof(v2)*10000); + return std::string(v2); } |