1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 04:56:38 +02:00

Trying to make things a little more const-safe, a work in progress but this is a bit better.

This commit is contained in:
Naram Qashat
2010-07-26 23:32:03 -04:00
parent 6e6b6b46aa
commit 57bb759305
34 changed files with 143 additions and 141 deletions
+2 -2
View File
@@ -254,7 +254,7 @@ bool moduleMinVersion(int major, int minor, int patch, int build)
return ret;
}
void Module::NoticeLang(const Anope::string &source, User *u, int number, ...)
void Module::NoticeLang(const Anope::string &source, const User *u, int number, ...) const
{
va_list va;
char buffer[4096], outbuf[4096];
@@ -396,7 +396,7 @@ void ModuleRunTimeDirCleanUp()
Alog(LOG_DEBUG) << "Module run time directory has been cleaned out";
}
Version Module::GetVersion()
Version Module::GetVersion() const
{
return Version(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD);
}