summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 20:41:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-14 20:41:07 +0000
commit735927abfecbf40e7b2b176afe5eff82113438ba (patch)
treef4178b8b1d655e4abd6f9c032fa6eb8ad3c9fca4 /src
parenta96514c284514116300794696f062c7fa6b1f79f (diff)
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')
-rw-r--r--src/inspircd.cpp10
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;
}