diff options
| author | 2005-12-14 20:41:07 +0000 | |
|---|---|---|
| committer | 2005-12-14 20:41:07 +0000 | |
| commit | 735927abfecbf40e7b2b176afe5eff82113438ba (patch) | |
| tree | f4178b8b1d655e4abd6f9c032fa6eb8ad3c9fca4 /src/inspircd.cpp | |
| parent | Added new docs for class InspIRCd and globals.h etc (diff) | |
| download | inspircd++-735927abfecbf40e7b2b176afe5eff82113438ba.tar.gz inspircd++-735927abfecbf40e7b2b176afe5eff82113438ba.tar.bz2 inspircd++-735927abfecbf40e7b2b176afe5eff82113438ba.zip | |
Added more stuff to InspIRCd class
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2452 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ccb4ff3e2..0a1eb14e6 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -142,7 +142,7 @@ void DeleteOper(userrec* user) } } -std::string GetRevision() +std::string InspIRCd::GetRevision() { /* w00t got me to replace a bunch of strtok_r * with something nicer, so i did this. Its the @@ -855,7 +855,7 @@ void ConnectUser(userrec *user) } } -std::string GetVersionString() +std::string InspIRCd::GetVersionString() { char versiondata[MAXBUF]; #ifdef THREADED_DNS @@ -869,7 +869,7 @@ std::string GetVersionString() void handle_version(char **parameters, int pcnt, userrec *user) { - WriteServ(user->fd,"351 %s :%s",user->nick,GetVersionString().c_str()); + WriteServ(user->fd,"351 %s :%s",user->nick,ServerInstance->GetVersionString().c_str()); } @@ -1359,9 +1359,7 @@ void process_buffer(const char* cmdbuf,userrec *user) } } -char MODERR[MAXBUF]; - -char* ModuleError() +char* InspIRCd::ModuleError() { return MODERR; } |
